Bug #37542

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

Added by Carsten Bleicker over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Category:
Validation
Target version:
-
Start date:
2012-05-28
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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

#1

Updated by Carsten Bleicker over 9 years ago

  • % Done changed from 0 to 100

Sorry, my fault.
Please close this.
Thanks

#2

Updated by Karsten Dambekalns about 9 years ago

  • Status changed from New to Closed
  • Assignee set to Karsten Dambekalns

Also available in: Atom PDF