[ https://issues.apache.org/jira/browse/SLING-10167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-10167. ---------------------------------- > MapEntries.loadAliases generates JCR queries with illegal absolute paths > ------------------------------------------------------------------------ > > Key: SLING-10167 > URL: https://issues.apache.org/jira/browse/SLING-10167 > Project: Sling > Issue Type: Bug > Components: ResourceResolver > Affects Versions: Resource Resolver 1.7.2 > Reporter: Stefan Seifert > Assignee: Stefan Seifert > Priority: Major > Fix For: Resource Resolver 1.7.4 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > the code introduced with SLING-9535 generates JCR queries like this to load > existing alias on startup: > {noformat} > SELECT sling:alias FROM nt:base AS page WHERE (NOT > ISDESCENDANTNODE(page,"/jcr:system/")) AND sling:alias IS NOT NULL > SELECT sling:alias FROM nt:base AS page WHERE (NOT > ISDESCENDANTNODE(page,"/parent1/")) AND sling:alias IS NOT NULL > {noformat} > this query are invalid, as "/jcr:system/" or "/parent1/" are not valid paths > - valid paths must end not with "/". -- This message was sent by Atlassian Jira (v8.3.4#803005)