Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0
-
None
-
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
- is cloned by
-
JCR-2939 QueryObjectModel does not generate the corresponding SQL2 Query when dealing with spaces in the path
- Closed