[Flow] Persistent problem with Persistence

Winfried Mingst admin at regionalberatung.at
Thu Jul 18 16:02:26 CEST 2013


Hi,

I posted about this problem some weeks ago already. Maybe there is a 
good soul out there who can help me now?
I need a solution for this problem urgently. A project depends on it.

Requirement:
There are two models (Master and Detail, relation OneToOne).
Properties of both models should be editable in one form. Let's say 
master's name  and detail's amount (float)

Problem:
As soon as there is a validation error (e.g alphas in float field 
amount) causing the form to be reloaded, master's identifier is renewed.
This results in creating a new entry in table master when updateAction() 
in detailController is executed. :-(


I made a git-repo for better understanding:

Classes: https://github.com/regioadmin/WL.Test/tree/master/Classes/WL/Test
Template: 
https://github.com/regioadmin/WL.Test/blob/master/Resources/Private/Templates/Detail/Edit.html


Regards

Winfried



More information about the Flow mailing list