You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/02/27 10:31:12 UTC
[jira] [Updated] (OAK-658) Unexpected illegal path handling on
oak-jcr
[ https://issues.apache.org/jira/browse/OAK-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu updated OAK-658:
--------------------------------
Attachment: SessionDelegate.java.patch
I'm proposing to guard against an IllegalArgEx in oak-jcr, to prevent it from bubbling up.
attaching patch.
> Unexpected illegal path handling on oak-jcr
> -------------------------------------------
>
> Key: OAK-658
> URL: https://issues.apache.org/jira/browse/OAK-658
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: jcr
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Priority: Minor
> Attachments: SessionDelegate.java.patch
>
>
> Given an illegal path like ' * ' oak-core throws an
> bq. java.lang.IllegalArgumentException: Invalid path: /GetStarTest1361806728422/*
> which may confuse clients of oak-jcr (like sling) which expect to see a RepositoryException.
> I've seen this on the sling integration test
> bq. org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCreateTest.testCreatingNodeUnderFile
> which issues a get request for /GetStarTest1361806728422/*.12.json
--
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