Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When looking at a bundle detail (both inline at /system/console/bundles and at the dedicated page: /system/console/bundles/id) the actions related to the bundle don't properly update the status and related actions.
For example:
- I install a bundle 27,
- I navigate to /system/console/bundles/27: Status 'Installed' and under Actions I can start it (among other things)
- Start the bundle:
- it doesn't update the proper 'Status' column. Instead the Status remains Installed and the 'Version' label td gets replaced with the new status
- the 'Start' action doesn't get replaced with the 'Stop' action (this gets lost)
This happens in bundles.js namely because of using find() instead of children() [0].
Explanation: "The .find() and .children() methods are similar, except that the latter only travels a single level down the DOM tree." (from the jquery api). This affects bundle details page only, as it has an embedded table containing the details that is shown only on this page, thus making the find() calls select wrong components.
Will attach a patch shortly.