You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Schaefer (JIRA)" <ji...@apache.org> on 2018/08/06 15:48:00 UTC
[jira] [Created] (SLING-7810) Endless Circular Etc Mapping
Andreas Schaefer created SLING-7810:
---------------------------------------
Summary: Endless Circular Etc Mapping
Key: SLING-7810
URL: https://issues.apache.org/jira/browse/SLING-7810
Project: Sling
Issue Type: Improvement
Components: ResourceResolver
Affects Versions: Resource Resolver 1.6.0
Reporter: Andreas Schaefer
If there is a mapping from a node to a child node the Etc Mapping enters an endless map. For example if we have this mapping:
/ -> /content
Then it will map this:
/content/test.html -> /content/content/test.html
and so on.
This is shown in the test: EtcMappingResourceResolverTest.endless_circular_mapping()
Either the Etc Mapping should prevent that or at least exclude Composum from the Mapping to keep the /etc/map editable. For now the only recovery option is to change the Etc Map root path in the Resource Resolver Factory configuration.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)