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

        Benjamin Eberlei created issue -
        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed
        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 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13661 ] jira-feedback [ 15333 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15333 ] jira-feedback2 [ 17197 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17197 ] jira-feedback3 [ 19452 ]
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-342] was closed:
        https://github.com/doctrine/dbal/pull/342

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-342] was closed: https://github.com/doctrine/dbal/pull/342

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1798, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: