Isaac Chiang created CLOUDSTACK-971:
---------------------------------------
Summary: 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
Priority: Trivial
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