8000 [Bridge][Doctrine] UniqueEntityValidator with empty values · Issue #4233 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Bridge][Doctrine] UniqueEntityValidator with empty values #4233

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

Closed
Burgov opened this issue May 9, 2012 · 2 comments
Closed

[Bridge][Doctrine] UniqueEntityValidator with empty values #4233

Burgov opened this issue May 9, 2012 · 2 comments

Comments

@Burgov
Copy link
Contributor
Burgov commented May 9, 2012

It appears that rather than null, an empty string is now the result of leaving your form field empty. This is fine, but this reintroduces #1376. This issue was fixed by never setting an error if any of the fields was null, which now doesn't occur anymore.

Not sure if this is a Form issue or a DoctrineBridge issue.

@stof
Copy link
Member
stof commented May 9, 2012

This is a form issue IMO. The absence of value is null, not the empty string

/cc @bschussek

@webmozart
Copy link
Contributor

See #4102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0