Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-110

getAssociationTargetClass targetDocument not set

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Labels:
      None

      Description

      follow up of https://github.com/doctrine/phpcr-odm/pull/279

      ClassMetadata

      // TODO this may be not set. what happens if we would return null then?
      return $this->mappings[$fieldName]['targetDocument'];

      investigate and fix once 279 is merged.

        Activity

        Hide
        David Buchmann added a comment -
        Show
        David Buchmann added a comment - fixed by https://github.com/doctrine/phpcr-odm/pull/286

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: