[ 
https://issues.apache.org/jira/browse/SLING-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu closed SLING-10431.
-----------------------------------

> 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
>            Priority: Major
>             Fix For: Resource Resolver 1.7.8
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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