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

Michael Dürig commented on OAK-1174:
------------------------------------

I think the test expectations are wrong, which causes most of the tests to 
fail. See my attempt to fix this at http://svn.apache.org/r1582788.

This leaves us with {{NamePathTest#testWhitespaceInName}} failing for 
{{"jcr:content "}}, which is accepted when no remappings are in place but 
rejected with a {{PathNotFoundException}} otherwise. 

> 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