Hi, I have an error in UnitOfWork.php line 2504. Doctrine2 expect an array containing only string, but I have a composite primary key and one key is an AbstractChoice, a type.
The problem is instead of insert in the array the name of the key, it copie the value. let me show an example: from line 2491 - 2495 (the foreach) fill up the $id array with the 3 primary key: - *entityType *= [the defined type, the whole object] ===> it should be only the value, isn't it? - entityId = integer value - otherfield = integer value the line 2504 is the PHP function implode that will crash with that $id array that fail to return the 2 integer value and the Object of the *entityType.*now I am asking: Is it possible to have doctrine type in part of a composite primary key? Why the foreach loop in UnitOfWork.php line 2491-2495 extract the whole object type instead of only the name and its value? could it be a bug in doctrine2? p.s. the type is extract as the extends of an AbstractChoice and have the 3 fields: - choices array - defautl = null - *...\AbstractChoice*value = "value" -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
