jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3014) Identifier paths for inexistent items throw exception
Date Wed, 13 Jul 2011 16:09:00 GMT

    [ https://issues.apache.org/jira/browse/JCR-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064650#comment-13064650
] 

Stefan Guggisberg commented on JCR-3014:
----------------------------------------

i don't agree with the current changes. 

IMO we should fix the IdentifierResolver interface and its implementations instead.

    public Path getPath(String identifier) throws MalformedPathException;

should be changed to 

    public Path getPath(String identifier) throws ItemNotFoundException, MalformedIdentifierException;



> Identifier paths for inexistent items throw exception
> -----------------------------------------------------
>
>                 Key: JCR-3014
>                 URL: https://issues.apache.org/jira/browse/JCR-3014
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Marcel Reutegger
>            Assignee: Alex Parvulescu
>             Fix For: 2.3.0
>
>
> The following fails with a RepositoryException but it should rather return false:
> session.itemExists("[" + UUID.randomUUID() + "]")

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message