Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
webconsole-2.0.4
-
None
Description
Working on upgrades of an OSGi-based system, which include moving services from one bundle to another for refactoring purposes, I had several cases where the console didn't display configuration values correctly, because the configuration was bound to a different bundle (B) than the one (A) where the corresponding service comes from.
Usually because the service that uses the config used to be in bundle A, but was moved to bundle B.
The symptoms are either no fields or values shown on the configuration page at all, or all name/value pairs displayed in a single textarea instead of individual fields.
IIUC that's because the webconsole cannot access the metadata about the configuration fields anymore in this case.
If that's correct, it would be good to have a warning on the configuration page when that happens, to help troubleshooting such cases.