[ http://issues.apache.org/jira/browse/JCR-327?page=all ]
Marcel Reutegger resolved JCR-327:
----------------------------------
Resolution: Fixed
Ok, second attempt ;)
The query builder now also searches for mixins that are derived from the node
type in element test.
I've also added a test cases that searches referenceable nodes
(o.a.j.core.MixinTest). The test adds nodes that are made referenceable in
three ways:
- implicitly referenceable (node type definition has mix:referenceable as
supertype)
- explicitly referenceable (mix:referenceable is set on node instance)
- explicitly referenceable using mixin derived from mix:referenceable
svn revision: 381292
> Mixins as supertypes do not appear to be queryable
> --------------------------------------------------
>
> Key: JCR-327
> URL: http://issues.apache.org/jira/browse/JCR-327
> Project: Jackrabbit
> Type: Bug
> Components: query, nodetype
> Versions: 0.9
> Reporter: Michael Daglian
> Assignee: Marcel Reutegger
> Fix For: 1.0
> Attachments: MixinTypesTest.java, ntdefs.cnd
>
> When creating custom nodetypes that contain mixins as the supertype, nodes of
> the custom type do not appear to be queryable when using statements of the
> form: //element(*, mixin). Attached are a relatively simple JUnit test and
> compact type definition that seem to illustrate the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira