You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stof@weaverryan@fabpot@totophe @genexp @rquadling@nud I am wondering if Symfony 3 has fixed the problem with unique constraints on super- and subclasses since it does not work for me...
For example, I have 2 sub-entities that are derived from an abstract parent entity and I gave the parent 2 unique constraints like this:
Running the controller always gives me 'yes' even if I pass a duplicate email or phone number. This means the @UniqueConstraint constraints are not working.
I thought this should be fixed now as this issue has been raised by many.
What's wrong with the code?
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
@stof @weaverryan @fabpot @totophe @genexp @rquadling @nud I am wondering if Symfony 3 has fixed the problem with unique constraints on super- and subclasses since it does not work for me...
For example, I have 2 sub-entities that are derived from an abstract parent entity and I gave the parent 2 unique constraints like this:
There are 2 subclasses that are derived from the superclass:
I created a form type for
Courier
Validation Code:
Running the controller always gives me 'yes' even if I pass a duplicate email or phone number. This means the
@UniqueConstraint
constraints are not working.I thought this should be fixed now as this issue has been raised by many.
What's wrong with the code?
The text was updated successfully, but these errors were encountered: