Description
Given an illegal path like ' * ' oak-core throws an
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
org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCreateTest.testCreatingNodeUnderFile
which issues a get request for /GetStarTest1361806728422/*.12.json
Attachments
Attachments
Issue Links
- is related to
-
OAK-582 Throw IllegalArgumentException on invalid paths instead of a RepositoryException (subtype)
- Closed