Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-35

referenced documents need to be referenceable

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      currently documents referenced need to have referenceable=true in their document annotation, otherwise the @ReferenceOne silently fails. (see also https://github.com/symfony-cmf/cmf-sandbox/pull/29 )

      either phpcr-odm should complain. or it could just add the mix:referenceable to the target document even though it was not declared referenceable.
      we could additionally make referenceable=true the default and offer explicit referenceable=false for optimization.

        Activity

        David Buchmann created issue -
        Lukas Kahwe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jordi Boggiano
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: