[
https://issues.apache.org/jira/browse/SLING-10771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722040#comment-17722040
]
Carsten Ziegeler commented on SLING-10771:
------------------------------------------
there is no right or wrong here. component property default values being
different than the metatype default value is an edge case and I would also
argue that this is a bug.
Setting a default value in a configuration is problematic once the default
value changes - which is also not that common; but still happens from time to
time.
If you don't want this behaviour, simply disable (or do not enable) the
component that implements the web console SPI
> Support handling of metatype info when merging configurations
> -------------------------------------------------------------
>
> Key: SLING-10771
> URL: https://issues.apache.org/jira/browse/SLING-10771
> Project: Sling
> Issue Type: New Feature
> Components: Installer
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: Installer Configuration Factory 1.4.2
>
>
> With SLING-10538 we have a mechanism to handle default values and merging for
> configurations, for example to separate between platform and application
> configurations.
> In addition we should also handle default values from metatype and not store
> properties in a configuration which has default values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)