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 -
        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.
        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 ]

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: