You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2013/11/16 00:55:20 UTC

[jira] [Resolved] (OAK-1194) Missing properties in Node.getReferences()

     [ https://issues.apache.org/jira/browse/OAK-1194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tobias Bocanegra resolved OAK-1194.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11

fixed in r1542431 by implementing a custom iterator. 

Maybe using the query (even with and index) is not optimal for resolving the back references after all.

> Missing properties in Node.getReferences() 
> -------------------------------------------
>
>                 Key: OAK-1194
>                 URL: https://issues.apache.org/jira/browse/OAK-1194
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: 0.11
>
>
> If a node has multiple reference properties to the same referenceable, only 1 is reported:
> {noformat}
> /bar [mix:referenceable]
> /foo
>   + ref0 --> /bar
>   + ref1 --> /bar
> {noformat}
> session.getNode("/bar").getReferences() only reports /foo/ref0
> (note that the test with multiple references from different nodes works)



--
This message was sent by Atlassian JIRA
(v6.1#6144)