Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2559

JQOM DescendentNode Constraint Factory Method doesn't work with paths with spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0
    • None
    • query
    • None

    Description

      The descendent node factory method doesn't work if the path of the node contains spaces, even those these are legal and work just fine in the session.getNode() node retrieval api. See my code snippets:

      NOTE: As per JCR-2558, the following code snippets use a slash at the end of the absolute path.

      DescendantNode constraint factory method doesn't work:

      qomFactory.descendantNode("mySelector","/documents/My Folder/" );

      However the following node retrieval works just fine:

      session.getNode("mySelector","/documents/My Folder/");

      Attachments

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              chadmichael chad davis
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: