Bug #37542

Subproperty Validation (f.e. Party::primaryElectronicAddress / ::electronicAddresses) only Validates DoctrinceCollection Models

Added by Carsten Bleicker about 3 years ago. Updated about 3 years ago.

Status:Closed Start date:2012-05-28
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Validation
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.1.0 beta 1

Description

my action updates a party.
incoming request arguments also contain the identifier of its primaryElectronicAddress.
on first submit of the form the property identifier is validated as email address, correct.

but submitting it again the only addresses in party::electronicAddresses containing errors.
primaryElectronicAddress remains empty.

cant figure out where this happens. do you allow the validation of an object and its subproperty only once?
if so, how should i get the validation errors for property primaryElectronicAddress::identifier?

kind regards
carsten

History

#1 Updated by Carsten Bleicker about 3 years ago

  • % Done changed from 0 to 100

Sorry, my fault.
Please close this.
Thanks

#2 Updated by Karsten Dambekalns about 3 years ago

  • Status changed from New to Closed
  • Assigned To set to Karsten Dambekalns

Also available in: Atom PDF