Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-1798

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        beberlei Benjamin Eberlei created issue -
        beberlei Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.3 [ 10196 ]
        Fix Version/s 2.3 [ 10185 ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 13661 ] jira-feedback [ 15333 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15333 ] jira-feedback2 [ 17197 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17197 ] jira-feedback3 [ 19452 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: