Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1534

ManyToMany Bidirectional Relationships require a defined "joinTable"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.2.2
    • Component/s: Mapping Drivers
    • Labels:
      None

      Description

      In the Mapping when defining a ManyToMany Bi-Directional Association the inversedBy is required on the owning side. Without a joinTable defined, the inversedBy attribute is never read. The joinTable attribute should not be required if using the Mapping Defaults.

      A quick glance at the code showed this in Annotations/XML/YML mappings

        Activity

        Jonathan Dell created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.2 [ 10195 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13259 ] jira-feedback [ 15145 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15145 ] jira-feedback2 [ 17009 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17009 ] jira-feedback3 [ 19262 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Jonathan Dell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: