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

angela commented on OAK-1174:
-----------------------------

from what i saw yesterday there seemed to be an inconsistency wrt non-space 
whitespace which is not cached by NamePathParserImpl#needsFullMapping but 
disallowed by JcrPathParser and also with leading/trailing white space in the 
name.f

> Inconsistent handling of invalid names/paths
> --------------------------------------------
>
>                 Key: OAK-1174
>                 URL: https://issues.apache.org/jira/browse/OAK-1174
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Michael Dürig
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.20
>
>
> Passing an invalid name to a JCR method might or might not throw a 
> {{RepositoryException}} depending on whether name re-mappings exist or not:
> {code}
> session.itemExists("/jcr:cont]ent");
> {code}
> returns {{false}} if no name re-mappings exist but throws a 
> {{RepositoryException}} otherwise. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to