Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

ConfigDispatcher doesn't remove configuration variable in runtime #4966

Closed
paulianttila opened this issue Jan 22, 2018 · 2 comments
Closed
Labels

Comments

@paulianttila
Copy link
Contributor

When user remove configuration property from configuration file in runtime, property is not removed from the configuration existing in memory. So basically, when you want to remove configuration property, you need to restart environment. Is this a bug or feature?

I meet this problem in openHAB dashboard. User can add additional tiles to dashboard by configuration properties, but when user removes property from the file, tile is not removed as property still exist in configAdmin's memory and will be provided to bundle.

@htreu
Copy link
Contributor

htreu commented Jan 22, 2018

This is only possible for config files which address a single service (exclusive config). Modifications to exclusive config files (first line does define exclusive pid like pid:<service-pid>) will be reflected in the configAdmin. See #4216 for technical details.

@kaikreuzer
Copy link
Contributor

I have created #4968 so that it is easier to explain in future :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants