[
https://issues.apache.org/jira/browse/SLING-8849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975178#comment-16975178
]
Henry Kuijpers commented on SLING-8849:
---------------------------------------
See proposed PRs:
[https://github.com/apache/sling-org-apache-sling-caconfig-impl/pull/3]
[https://github.com/apache/sling-org-apache-sling-caconfig-spi/pull/1]
> CA Config HTL bindings value provider is too limited: Unable to influence the
> source of adaption
> ------------------------------------------------------------------------------------------------
>
> Key: SLING-8849
> URL: https://issues.apache.org/jira/browse/SLING-8849
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Context-Aware Configuration Impl 1.5.0
> Environment: AEM 6.x
> Reporter: Henry Kuijpers
> Priority: Major
> Labels: pull-request-available
>
> 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]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)