Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-77

document level options inheritance

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Labels:
      None

      Description

      documents extending other documents should inherit the global attributes unless overwritten explicitly.

      for example, having @Document(referenceable=true) should be kept for an extending class unless it explicitly sets it to false. currently, attributes are reset on each new @Document tag. (i assume we have the same issue for xml/yml mapping?)

        Activity

        David Buchmann created issue -
        Hide
        David Buchmann added a comment -

        this is fixed for referenceable in https://github.com/doctrine/phpcr-odm/pull/185

        Show
        David Buchmann added a comment - this is fixed for referenceable in https://github.com/doctrine/phpcr-odm/pull/185
        David Buchmann made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Hide
        David Buchmann added a comment -

        when doing this, we should also fix MappedSuperclass annotation to support all attributes the Document has. in xml mappings mapped-superclass extends document

        Show
        David Buchmann added a comment - when doing this, we should also fix MappedSuperclass annotation to support all attributes the Document has. in xml mappings mapped-superclass extends document
        Show
        David Buchmann added a comment - https://github.com/doctrine/phpcr-odm/pull/294
        David Buchmann made changes -
        Status Open [ 1 ] Closed [ 6 ]
        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-77, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: