Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1509

Issue when merging entity with several associations to inherited classes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.3, Git Master
    • Fix Version/s: 2.1.4
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      When merging entity with several associations to inherited classes update data gathering is broken after first inheritance processing because $entity variable is overwritten with another object.

      The problem is in the line

      https://github.com/doctrine/doctrine2/commit/08716d9f72996bab8c71a8cc8bda72d3925e8fb1#commitcomment-741698

      Test case will be attached shortly,

        Activity

        Aigars Gedroics created issue -
        Aigars Gedroics made changes -
        Field Original Value New Value
        Attachment DDC1509Test.php [ 11115 ]
        Benjamin Eberlei made changes -
        Priority Critical [ 2 ] Blocker [ 1 ]
        Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1.4 [ 10165 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13214 ] jira-feedback [ 15125 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15125 ] jira-feedback2 [ 16989 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16989 ] jira-feedback3 [ 19242 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: