Robert Munteanu created SLING-10431:
---------------------------------------

             Summary: ResourceMapperImpl tests no longer running with optimised 
alias resolution
                 Key: SLING-10431
                 URL: https://issues.apache.org/jira/browse/SLING-10431
             Project: Sling
          Issue Type: Bug
          Components: ResourceResolver
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
             Fix For: Resource Resolver 1.7.8


With SLING-9535 we changed the query that is issued for looking up aliases. 
That was not reflected in the stub resource resolver we use for tests, and 
starting at that point the tests were not running in the optimised alias 
resolution mode, even if requested. The only clue were messages logged in the 
console

{noformat}
[main] ERROR org.apache.sling.resourceresolver.impl.mapping.MapEntries - 
Unexpected problem during initialization of optimize alias resolution. 
Therefore disabling optimize alias resolution. Please fix the problem.
java.lang.UnsupportedOperationException: Unsupported query: 'SELECT sling:alias 
FROM nt:base AS page WHERE (NOT ISDESCENDANTNODE(page,"/jcr:system")) AND 
sling:alias IS NOT NULL '
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to