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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: