[ 
https://issues.apache.org/jira/browse/FELIX-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488857#comment-17488857
 ] 

Carsten Ziegeler commented on FELIX-6503:
-----------------------------------------

No, I'm not suggesting this .
What does your component do if it does not get a configuration? I assume it 
uses default values.
What does your component do if it gets a configuration where properties are 
missing? I would hope that it is still using default values.
The point of metatype is to describe these default properties, so someone using 
your component knows how it behaves without a configuration and/or without some 
of the properties.


> Webconsole doesn't set configuration property to default value
> --------------------------------------------------------------
>
>                 Key: FELIX-6503
>                 URL: https://issues.apache.org/jira/browse/FELIX-6503
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.7.2
>            Reporter: Andreas Lemmer
>            Priority: Blocker
>
> After changing a configuration property in the webconsole configMgr, it 
> cannot be changed back to the default value again. The webconsole shows an 
> exclamation mark saying that the property was not set and the default value 
> is only displayed.
> In the @Modified method, the property map doesn't contain the property key.
> It seems that instead of setting the entered value (which happens to be equal 
> to the default value), the configuration property is just removed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to