You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2016/04/08 15:59:25 UTC
[jira] [Assigned] (SLING-5654) Use apostrophe to escape paths in
ISDESCENDANTNODE
[ https://issues.apache.org/jira/browse/SLING-5654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomek Rękawek reassigned SLING-5654:
------------------------------------
Assignee: Tomek Rękawek
> Use apostrophe to escape paths in ISDESCENDANTNODE
> --------------------------------------------------
>
> Key: SLING-5654
> URL: https://issues.apache.org/jira/browse/SLING-5654
> Project: Sling
> Issue Type: Improvement
> Components: Sling Query
> Reporter: Tomek Rękawek
> Assignee: Tomek Rękawek
> Priority: Minor
> Fix For: Sling Query 3.0.2
>
>
> The JCR strategy for the {{find()}} method creates a JCR-SQL2 query using {{ISDESCENDANTNODE}} predicate. Right now it uses brackets to escape paths, which isn't compatible with node names starting with a digit. Change it to an apostrophe: {{ISDESCENDANTNODE('/content/path')}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)