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

Trailing slash not removed for simple path in JCR to Oak path conversion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.5
    • jcr
    • None

    Description

      While converting from JCR path to Oak path the trailing slashes are not removed for simple paths. They are removed for complex path

      assertEquals("/oak-foo:bar/oak-quu:qux",npMapper.getOakPath("/foo:bar/quu:qux/"));
      assertEquals("/a/b/c",npMapper.getOakPath("/a/b/c/"));
          }
      

      Of the two cases above the first one passes while the second one fails

      Attachments

        1. OAK-313.patch
          3 kB
          Chetan Mehrotra

        Activity

          People

            mduerig Michael Dürig
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: