pallets-eco / pallets-eco/wtforms
Regexp validator fails on MultipleFileField
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 409
- PR merge metrics
- No merged PRs in 30d
Description
Hi Guys,
Regexp validator fails on multiple file field - it validates on field.data which in this situation is a list.
(I wanted to clone the repo and try out new Regexp test case with list type field.data value, but I failed at running pytest on non-installed package and picking up whole validators tests...)
Cheers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Regexp validator and MultipleFileField handling, focusing on how field.data is processed when it is a list. Run pytest against the validators tests using an installed package, then add or update the Regexp test case so validation behaves correctly for a list-valued field.data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100