Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1654

OrphanRemoval does not work with One-To-Many, Unidirectional with Join Table

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2.1
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      OrphanRemoval is only allowed for one-to-one and one-to-many mappings. But using One-To-Many, Unidirectional with Join Table, the relation will be declared as Many-To-Many with a unique contraint, but the orphan removal flag doesn't work in this case (but should).

        Activity

        Sascha-Oliver Prolic 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.1 [ 10194 ]
        Resolution Fixed [ 1 ]
        Show
        Benjamin Eberlei added a comment - https://github.com/doctrine/doctrine2/commit/a32948b20fd3f67bd29e9dec5f637a46edfffff6
        Benjamin Eberlei made changes -
        Workflow jira [ 13456 ] jira-feedback [ 15234 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15234 ] jira-feedback2 [ 17098 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17098 ] jira-feedback3 [ 19351 ]

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: