jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (JCR-3497) Invalid path in SaveTest#testRepositoryException
Date Thu, 24 Jan 2013 09:59:15 GMT

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

Michael Dürig updated JCR-3497:
-------------------------------

    Assignee: Michael Dürig
    
> Invalid path in SaveTest#testRepositoryException
> ------------------------------------------------
>
>                 Key: JCR-3497
>                 URL: https://issues.apache.org/jira/browse/JCR-3497
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-tests
>    Affects Versions: 2.7
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.7
>
>         Attachments: JCR-3497.patch
>
>
> org.apache.jackrabbit.test.api.query.SaveTest.testRepositoryException() passes a syntactically
invalid path to Query.storeAsNode() and expects a RepositoryException. 
> I think we should change this and pass a syntactically correct path that has an index
on its last element. I believe this matches the initial intention of this test much better.

> The current test prevents other JCR implementations from throwing an IllegalArgumentException
for syntactically invalid paths. See also https://issues.apache.org/jira/browse/OAK-563?focusedCommentId=13556369&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13556369.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message