[Flow] Exception after validation error
Walter Meng
wm at psoft.at
Thu May 16 09:00:01 CEST 2013
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
More information about the Flow
mailing list