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

Unexpected illegal path handling on oak-jcr wrt backwards compatibility

    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

        1. SessionDelegate.java.patch
          0.7 kB
          Alex Deparvu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: