You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Alex Parvulescu (Created) (JIRA)" <ji...@apache.org> on 2012/01/26 16:08:38 UTC
[jira] [Created] (FELIX-3320) WebConsole UX: actions and status on
bundle details don't update properly
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
Priority: Minor
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
[jira] [Resolved] (FELIX-3320) WebConsole UX: actions and status on
bundle details don't update properly
Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (FELIX-3320) WebConsole UX: actions and status on
bundle details don't update properly
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-3320.
------------------------------------
Close after release
> 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-4.0.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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-3320) WebConsole UX: actions and status on
bundle details don't update properly
Posted by "Alex Parvulescu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu updated FELIX-3320:
-----------------------------------
Attachment: FELIX-3320.patch
Proposed patch.
Replaced tr.find('td:eq(4)') with tr.children('td:eq(4)').
This handles the case where there are embedded tables and the selector can go awry.
Be kind to my flaky javascript :)
> 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
> Priority: Minor
> 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
[jira] [Assigned] (FELIX-3320) WebConsole UX: actions and status on
bundle details don't update properly
Posted by "Felix Meschberger (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned FELIX-3320:
----------------------------------------
Assignee: Felix Meschberger
> 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
> 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