[DDC-1798] [GH-342] Fix identifier generator strategy for composite identifier Created: 26/Apr/12  Updated: 20/Dec/13  Resolved: 27/May/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.2.3, 2.3
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


This issue is created automatically through a Github pull request on behalf of jeanmonod:

Url: https://github.com/doctrine/doctrine2/pull/342


When using the ConvertMappingCommand on a schema that contain a table with a composite key, we got the exception:

Single id is not allowed on composite primary key in entity CollectionFields

This can be fix by setting the identifier strategy to NONE for composite identifier fields

Comment by Benjamin Eberlei [ 27/May/12 ]


Comment by Doctrine Bot [ 20/Dec/13 ]

A related Github Pull-Request [GH-342] was closed:

Generated at Wed Oct 14 00:03:11 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.