Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-658

Unexpected illegal path handling on oak-jcr wrt backwards compatibility

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10
    • jcr
    • None

    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mduerig Michael Dürig
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment