[
https://issues.apache.org/jira/browse/FELIX-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-3320.
--------------------------------------
Resolution: Fixed
Fix Version/s: webconsole-3.2.0
Thanks for providing the patch. I have applied it in Rev. 1305533
> WebConsole UX: actions and status on bundle details don't update properly
> -------------------------------------------------------------------------
>
> Key: FELIX-3320
> URL: https://issues.apache.org/jira/browse/FELIX-3320
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Reporter: Alex Parvulescu
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: webconsole-3.2.0
>
> Attachments: FELIX-3320.patch
>
>
> 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.
> [0] http://api.jquery.com/children/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira