[PHPCR-77] document level options inheritance Created: 06/Aug/12  Updated: 03/Jul/13  Resolved: 03/Jul/13

Status: Closed
Project: Doctrine PHPCR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Blocker
Reporter: David Buchmann Assignee: Lukas Kahwe
Resolution: Fixed Votes: 0
Labels: None


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?)

Comment by David Buchmann [ 01/Nov/12 ]

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

Comment by David Buchmann [ 05/May/13 ]

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

Comment by David Buchmann [ 03/Jul/13 ]


Generated at Fri Oct 09 12:21:42 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.