Skip to content


DDC-2645: merge() not dealing correctly with composite primary keys #3380

doctrinebot opened this Issue · 4 comments

2 participants


Jira issue originally created by user papoola:


fails for entity with composite keys:

Calling flattenIdentifier() from:

returns only array of foreign keys (integer primary key ignored)

Causing this exception to be thrown:


Comment created by papoola:

I haven't seen any comments or progress on this issue.

So I came up with a fix for flattenIdentifier my self:

Can this be pushed to repos once its validated?


Comment created by lhess:

Same problem here, please fix this issue asap! :-))


Comment created by @beberlei:

Fixed and merged for 2.4.2


Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.4.2 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.