[FLOW3-general] Re: Validate if an object is unique

Widmer Cornel cornel at kollerinternet.ch
Thu Feb 28 13:19:55 CET 2013


Hi Manfred

I thinked over this solution but there is a problem. How did you handle the inputs that a user has made.
In case you have a big form it isnt really handy that every input field get lost.

Greetings, Cornel


Quote: Manfred Rutschmann - VOLUMEN Werbe-/Internetag wrote on Thu, 28 February 2013 10:58
----------------------------------------------------
> Hi Cornel,
> 
> i have the same problem. For this way you can`t catch the given Excpetion. For this case i have to use a little check in the controller:
> 
> $checkIdentity = $this->countryRepository->findByName($country->getName())->count();
> 
> Dirty but effective ;-)
> 
> Regards Manfred


More information about the FLOW3-general mailing list