Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1778

Cloned PersistentCollection with orphanRemoval

    Details

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

      Description

      When using a cloned PersistentCollection (with the Symfony2 Form component, for example) when orphanRemoval is enabled, the cloned PersistentCollection will tell the UOW to schedule orphan removal.

      I am working on a test and a fix, posting so i get an issue number to use.

        Activity

        Hide
        Tim Nagel added a comment -

        Pull request with 3 failing tests (That are fixed by modifications to PersistentCollection in the same commit)

        Show
        Tim Nagel added a comment - Pull request with 3 failing tests (That are fixed by modifications to PersistentCollection in the same commit)
        Show
        Tim Nagel added a comment - https://github.com/doctrine/doctrine2/pull/336
        Hide
        Benjamin Eberlei added a comment -

        Fixed

        Show
        Benjamin Eberlei added a comment - Fixed
        Hide
        Bernhard Schussek added a comment -

        Is this backported to 2.1 as well?

        Show
        Bernhard Schussek added a comment - Is this backported to 2.1 as well?

          People

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

            Dates

            • Created:
              Updated:
              Resolved: