Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C43439262 for ; Mon, 26 Mar 2012 20:12:52 +0000 (UTC) Received: (qmail 12702 invoked by uid 500); 26 Mar 2012 20:12:51 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 12658 invoked by uid 500); 26 Mar 2012 20:12:51 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 12620 invoked by uid 99); 26 Mar 2012 20:12:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 20:12:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 20:12:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CBC89347F1D for ; Mon, 26 Mar 2012 20:12:26 +0000 (UTC) Date: Mon, 26 Mar 2012 20:12:26 +0000 (UTC) From: "Felix Meschberger (Resolved) (JIRA)" To: dev@felix.apache.org Message-ID: <90063605.19228.1332792748239.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <909640009.81474.1327590518729.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (FELIX-3320) WebConsole UX: actions and status on bundle details don't update properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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