[Flow] Exception after validation error
Steffen Wickham
steffen at gaming-inc.de
Thu May 16 09:29:54 CEST 2013
Hi Walter,
as the identifier seems to be empty, it would be nice to know how you
create the Objektwohnraumobjekt model within your DTO method
"getObjektwohnraumobjekt()" and the annotation of the
Objektwohnraumobjekt model as well. Normally a new identifier will be
generated while creating the new object.
Best regards,
Steffen
Am 16.05.13 09:00, schrieb Walter Meng:
> Hi,
> can you help me please?
>
> As soon as there is a validation error in my form, I get this error after
> correcting the error and executing update or createAction:
>
>
> Uncaught exception #1313663277 in line 186 of
> ..Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Persistence/Repository.ph
> p: The object of type "WL\Test\Domain\Model\Objektwohnraumobjekt"
> (identifier: "") which was passed to EntityManager->update() is not a
> previously persisted object. Check the code which updates this entity and
> make sure that only objects are updated which were persisted before.
> Alternatively use add() for persisting new objects." - See also:
> 20130516083806c24e93.txt
>
> I created a Dto (Data Transfer Object) like described in
> http://wiki.typo3.org/FLOW3_Cookbook to have multiple objects in one Fluid
> form.
>
> Here is my updateAction
>
> http://pastebin.com/ByNzmmkd
>
> Regards
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list