You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/06/28 07:19:00 UTC
[jira] [Commented] (FELIX-6436) Exclude default values (from
metatype) in Configuration
[ https://issues.apache.org/jira/browse/FELIX-6436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370457#comment-17370457 ]
Carsten Ziegeler commented on FELIX-6436:
-----------------------------------------
Implemented in https://github.com/apache/felix-dev/commit/09c897e34d7d4f00084a89cc6113bc233b98f70a
This implementation only kicks in if it is used via the web console
> Exclude default values (from metatype) in Configuration
> -------------------------------------------------------
>
> Key: FELIX-6436
> URL: https://issues.apache.org/jira/browse/FELIX-6436
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
>
> When an OSGi configuration is changed through the web console, all properties are set in the created/updated configuration, including those which are actually not set in the web console - but where just the default value is transfered back.
> This prohibits those configurations from using any change in the default values.
> The implementation could be smarter and check metatype info (if available) and exclude all properties with default values.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)