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

CA Config HTL bindings value provider is too limited: Unable to influence the source of adaption

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Context-Aware Configuration Impl 1.5.0
    • Fix Version/s: None
    • Component/s: Extensions
    • Environment:
      AEM 6.x

      Description

      The provided ConfigurationBindingsValueProvider is too limited, due to missing extension points: It would be beneficial for project implementations to be able to influence the source of adaption for the config. See also the implementation of the getBindings() method: https://github.com/apache/sling-org-apache-sling-caconfig-impl/blob/master/src/main/java/org/apache/sling/caconfig/impl/ConfigurationBindingsValueProvider.java#L77. 

      This should not be tied to the current resource necessarily, but instead be tied to the current resource by default, but leave options open for overriding this behavior i.e. in CMSes where you might want to use another object to to act as the determinator of the context.

      See also the discussion in: https://wcm-io.atlassian.net/browse/WCON-75

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sseifert Stefan Seifert
                Reporter:
                hkui Henry Kuijpers
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h