[ https://issues.apache.org/jira/browse/SLING-12849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-12849: ------------------------------------ Description: The Felix Web Console (system/console/configMgr) exposes the configuration for https://github.com/apache/sling-org-apache-sling-featureflags/blob/master/src/main/java/org/apache/sling/featureflags/impl/ConfiguredFeature.java via two different factory PIDs: # org.apache.sling.featureflags.Feature # org.apache.sling.featureflags.impl.ConfiguredFeature Only the former seems to be desired according to https://sling.apache.org/documentation/the-sling-engine/featureflags.html. The reason is that the metatype resource in {{OSGI-INF/metatype/org.apache.sling.featureflags.impl.ConfiguredFeature$Config.xml}} has two separate designate elements: {code} <Designate factoryPid="org.apache.sling.featureflags.Feature"> <Object ocdref="org.apache.sling.featureflags.impl.ConfiguredFeature$Config"/> </Designate> <Designate factoryPid="org.apache.sling.featureflags.impl.ConfiguredFeature"> <Object ocdref="org.apache.sling.featureflags.impl.ConfiguredFeature$Config"/> </Designate> {code} was: The Felix Web Console (system/console/configMgr) exposes the configuration for https://github.com/apache/sling-org-apache-sling-featureflags/blob/master/src/main/java/org/apache/sling/featureflags/impl/ConfiguredFeature.java via two different factory PIDs: # org.apache.sling.featureflags.Feature # org.apache.sling.featureflags.impl.ConfiguredFeature Only the former seems to be desired according to https://sling.apache.org/documentation/the-sling-engine/featureflags.html. > "Sling Configured Feature" exposed via two different factory PIDs > ----------------------------------------------------------------- > > Key: SLING-12849 > URL: https://issues.apache.org/jira/browse/SLING-12849 > Project: Sling > Issue Type: Bug > Components: Feature Flags > Affects Versions: Feature Flags 1.2.2 > Reporter: Konrad Windszus > Priority: Major > > The Felix Web Console (system/console/configMgr) exposes the configuration > for > https://github.com/apache/sling-org-apache-sling-featureflags/blob/master/src/main/java/org/apache/sling/featureflags/impl/ConfiguredFeature.java > via two different factory PIDs: > # org.apache.sling.featureflags.Feature > # org.apache.sling.featureflags.impl.ConfiguredFeature > Only the former seems to be desired according to > https://sling.apache.org/documentation/the-sling-engine/featureflags.html. > The reason is that the metatype resource in > {{OSGI-INF/metatype/org.apache.sling.featureflags.impl.ConfiguredFeature$Config.xml}} > has two separate designate elements: > {code} > <Designate factoryPid="org.apache.sling.featureflags.Feature"> > <Object > ocdref="org.apache.sling.featureflags.impl.ConfiguredFeature$Config"/> > </Designate> > <Designate > factoryPid="org.apache.sling.featureflags.impl.ConfiguredFeature"> > <Object > ocdref="org.apache.sling.featureflags.impl.ConfiguredFeature$Config"/> > </Designate> > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)