Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2363

Duplicated record with orphanRemoval and proxy

    Details

    • Type: Bug Bug
    • Status: Awaiting Feedback
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.2
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Environment:
      Tested both Mac OS X and Ubuntu

      Description

      There is a problem that causes duplicate records are created when EntityManager has to remove an entity due to orphanRemoval. The problem occurs only with a double flush and referred object is a proxy.

      I'm trying to submit a pull request for this ticket. Please, stand by.

        Issue Links

          Activity

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Manuele Menozzi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: