Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2988

Notice: Undefined index: joinColumns in BasicEntityPersister.php

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.5
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      When trying to use findBy on a ManyToMany field i receive the error:

      Notice: Undefined index: joinColumns in lib/Doctrine/ORM/Persisters/BasicEntityPersister.php

      It seems to be caused internally by the code expecting 'joinColumns' to be directly on the association, however it is found under 'joinTable'.
      I have attached a patch that atleast fixes my case, hopefully it can be used to pin-point what the error is.

        Issue Links

          Activity

          Hide
          Dennis Væversted added a comment -
          Show
          Dennis Væversted added a comment - Might be related to this one: http://www.doctrine-project.org/jira/browse/DDC-2808

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Dennis Væversted
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: