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

Context-Aware Config: Config reference should be detected in ContextPathStrategy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      currently the DefaultContextPathStrategy checks for the availability of the sling:config-ref prop, but it does not return it's value, this is done in the DefaultConfigurationResourceResolvingStrategy.

      this is as bit inconsistent, leading to configure the lookup of SLING-6149 in multiple places, and makes it more difficult to define scenarios where the config references is build on a conventions-based pattern (e.g. derived from content path) instead of an explicit sling:config-ref property.

      the logic itself and other implementation details of both strategies remain untouched.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment