Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-1.2.2
-
None
Description
Currently the web console does not support updating the system bundle. A simple enhancement in the InstallAction class handling bundle update supports this update.
Background: When a bundle file is submitted for installaiton (or update) in the respective form on the bundle page, the web console analyses the bundle file to find a matching bundle to update by the symbolic name. If no matching bundle is found, the bundle is installed as a new bundle.
This mechanism could also be used to update the system bundle. But the symbolic name of the system bundle is special, since the "system.bundle" strings is not the required name but just an alias. To sitll support the system bundle, the InstallAction checker for the bundle to update should treat the string "system.bundle" (the defined alias for the symbolic name) as indications to update the system bundle.
Generally, this may just restart the framework and not actually update the system bundle. But there may be cases, where this already helps.In addition it might prevent potential problems, if some administrator tries to install a bundle, which happens to have the respective symbolic name.