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

        Hide
        Benjamin Eberlei added a comment -

        I don't get it, can you point me to some lines?

        Show
        Benjamin Eberlei added a comment - I don't get it, can you point me to some lines?
        Hide
        Benjamin Eberlei added a comment -

        Found, fixed.

        Show
        Benjamin Eberlei added a comment - Found, fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: