Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1798

[GH-342] Fix identifier generator strategy for composite identifier

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.3, 2.3
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

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

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

      Message:

      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

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: