Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7810

Endless Circular Etc Mapping

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Resource Resolver 1.6.0
    • Fix Version/s: None
    • Component/s: ResourceResolver
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andysch Andreas Schaefer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: