Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
webconsole-1.0.0
-
None
Description
The WebConsole can be instructed to do a PackageAdmin.refreshPackages(null) after installing or updating a bundle. As there may be some things going on asynchronously behind the scenes after an installation/update, the call of the refreshPackages method should be delayed. Because the install/update actually works in a background thread, we can add such a delay without delaying client interactivity.
I insert a delay of 2 seconds for now. This is an empiric number, not a scientifically computed one, but I assume it should work out fine.
Attachments
Issue Links
- relates to
-
FELIX-4734 Web Console RESTful API should wait for asynchonous operations until they complete
- Closed