Hi,
I'm using MAInternalEditorComponent for editing some complex structures
and for now is working ok, but I found a little issue. Take this
example:
I have a Person, who has an Address. I edit Person for create a new
instance, then I run validation for the component... and validation
does not validate Address, just it's existence, which obviously exist,
because I created it with a #default:, but required values for #street
and #number are not chequed.
I solved this problem by oberriding #validateSpecific: of
MAToOneRelationDescription this way:
validateSpecific: anObject
super validateSpecific: anObject.
anObject description validate: anObject.
My question is: is this solution correct? this is maybe a bug of magritte?
Thanks,
Esteban