Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-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 4668FE5AA for ; Mon, 14 Jan 2013 11:16:18 +0000 (UTC) Received: (qmail 46757 invoked by uid 500); 14 Jan 2013 11:16:17 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 46178 invoked by uid 500); 14 Jan 2013 11:16:16 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 45837 invoked by uid 99); 14 Jan 2013 11:16:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 11:16:15 +0000 Date: Mon, 14 Jan 2013 11:16:15 +0000 (UTC) From: "Pranav Saxena (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CLOUDSTACK-971) The error dialog is empty 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/CLOUDSTACK-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pranav Saxena reassigned CLOUDSTACK-971: ---------------------------------------- Assignee: Pranav Saxena > The error dialog is empty > ------------------------- > > Key: CLOUDSTACK-971 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-971 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: UI > Environment: Master branch, DevCloud > Reporter: Isaac Chiang > Assignee: Pranav Saxena > Priority: Trivial > Labels: ui > > The error text always empty. It is a tiny issue in line 211 of sharedFunctions.js. The right curly brace of the for loop is in the wrong place. > 211 for(property in json) {} > 212 var errorObj = json[property]; 213 if(errorObj.errorcode == 401 && errorObj.errortext == "unable to verify user credentials and/or request signature") > 214 return _l('label.session.expired'); > 215 else > 216 return _s(errorObj.errortext); > It should be : > 211 for(property in json) { > 212 var errorObj = json[property]; > 213 if(errorObj.errorcode == 401 && errorObj.errortext == "unable to verify user credentials and/or request signature") > 214 return _l('label.session.expired'); > 215 else > 216 return _s(errorObj.errortext); > 217 } -- 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