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 -
        Hide
        Uwe Jäger added a comment -

        I will cover the first part for now, let phpcr -odm complain ...

        Show
        Uwe Jäger added a comment - I will cover the first part for now, let phpcr -odm complain ...
        Hide
        Uwe Jäger added a comment -

        This fixed now, but I can't close that issue ...

        Show
        Uwe Jäger added a comment - This fixed now, but I can't close that issue ...
        Lukas Kahwe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: