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

        Tim Nagel created issue -
        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
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.3 [ 10196 ]
        Resolution Fixed [ 1 ]
        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?
        Benjamin Eberlei made changes -
        Workflow jira [ 13632 ] jira-feedback [ 15320 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15320 ] jira-feedback2 [ 17184 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17184 ] jira-feedback3 [ 19439 ]

        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-1778, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: