[TYPO3-mvc] How to validate if input value is unique in table?
Uwe Michelfelder
um at limeflavour.com
Mon Feb 22 14:57:54 CET 2010
Hi list,
I want to validate that the given email is not already used in the
repository.
How is this solved correctly?
If I create a custom validator in the Domain Model checking against the
repository by using ->findbyEmail() it would work for the add function,
but not validate at updating the Object, because the repository finds
the currently updated Object itself.
Any suggestions to solve this?
Greetings,
Uwe
More information about the TYPO3-project-typo3v4mvc
mailing list