jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2427) UUIDDocId.getDocumentNumbers() may return illegal value
Date Tue, 08 Dec 2009 14:54:18 GMT

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

Marcel Reutegger resolved JCR-2427.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Fixed in revision: 888419

> UUIDDocId.getDocumentNumbers() may return illegal value
> -------------------------------------------------------
>
>                 Key: JCR-2427
>                 URL: https://issues.apache.org/jira/browse/JCR-2427
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.0-beta3
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Happens when the node with the given UUID is not present in the index. The method then
returns -1, which is illegal. Document numbers must be >= 0. The method must returns an
empty array when the id is invalid, as documented in DocId.getDocumentNumbers().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message