Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Zend\Form\Element\File types inherit of StringLength validator... #363

Merged
merged 2 commits into from
Jan 4, 2015

Conversation

mpalourdio
Copy link
Contributor

...when a length is provided
See zendframework/zendframework#7096

With annotations, when a file type is specified, the ElementAnnotationsListener attach a string length validator by default. This PR prevents this behavior.

@Ocramius Ocramius self-assigned this Jan 4, 2015
@Ocramius Ocramius added this to the 0.9.0 milestone Jan 4, 2015
@Ocramius Ocramius added the Bug Something isn't working label Jan 4, 2015
Ocramius added a commit that referenced this pull request Jan 4, 2015
Prevent Zend\Form\Element\File types inherit of StringLength validator...
@Ocramius Ocramius merged commit 49ed811 into doctrine:master Jan 4, 2015
@Ocramius
Copy link
Member

Ocramius commented Jan 4, 2015

@mpalourdio thanks, merged!

@mpalourdio mpalourdio deleted the files branch January 5, 2015 20:59
@gianarb gianarb mentioned this pull request Apr 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants