Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29135CF62 for ; Wed, 9 May 2012 20:56:14 +0000 (UTC) Received: (qmail 81004 invoked by uid 500); 9 May 2012 20:56:14 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 80975 invoked by uid 500); 9 May 2012 20:56:14 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 80964 invoked by uid 99); 9 May 2012 20:56:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 20:56:14 +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; Wed, 09 May 2012 20:56:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EF73848E324 for ; Wed, 9 May 2012 20:55:51 +0000 (UTC) Date: Wed, 9 May 2012 20:55:51 +0000 (UTC) From: "Varun Kapoor (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: <675641210.46361.1336596951982.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <687243857.41636.1336519789139.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (AMBARI-194) Avoid TxnProgressWidget Getting Stuck In An Infinite Loop MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMBARI-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Varun Kapoor reassigned AMBARI-194: ----------------------------------- Assignee: Varun Kapoor > Avoid TxnProgressWidget Getting Stuck In An Infinite Loop > --------------------------------------------------------- > > Key: AMBARI-194 > URL: https://issues.apache.org/jira/browse/AMBARI-194 > Project: Ambari > Issue Type: Bug > Affects Versions: ambari-186 > Reporter: Varun Kapoor > Assignee: Varun Kapoor > Priority: Critical > Fix For: ambari-186 > > Original Estimate: 4h > Remaining Estimate: 4h > > php/frontend/fetchTxnProgress.php's response JSON checks that at least one subTxn is in progress, or it sets the top-level 'progress' key to null. The JS checks for this null-ness before deciding to swap the loading image for the list of progress states. > Sadly, when the backend txn is a no-op (for instance, when a service is already started but a user starts it again from the Manage Services page), none of the subTxns will be in-progress, causing this condition to be triggered. Thus, no-ops lead to the loading image showing forever, with no way for users to break the cycle, which is pretty darn bad. -- 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