while using an array of fields (instead of the simple field) as described in "Working with Models" reference in a hasMany relation, i get a "Not Implemented Exception" while trying to set the related Object via relation alias.
It works fine in reading since i can count the elements, but i can't update the value of the relation.
A sample code here: Passenger table has a composite PK (PersonId, FlightId) so array of cols has been used in Passenger Model relation initialization for baggages (wich includes both Passenger pk cols).
$Passenger->Baggages = $passengerBags; //array of Baggages
This causes an exception with the message "Not Implemented". How can i deal with this? Is this a bug?
Thanks to all