[ https://issues.apache.org/jira/browse/CLOUDSTACK-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649219#comment-13649219 ]
Isaac Chiang edited comment on CLOUDSTACK-2274 at 5/5/13 12:21 AM: ------------------------------------------------------------------- The issue may need to be more discussed. It is a common issue under current front-end code, not only happens in deleting physical network. It's hard to make decision when solving the issue, because there is a general error handling in cloudStack.js and it limits the callback scope. I have a suggestion, maybe we can put the statusCode callback in the cloudStack.js for showing the error message and left the error callback to do it's jobs when associated ajax call failed, e.g., removing the $loading div when a detail view action failed. Please correct me if I get something wrong, Thank you. Regards was (Author: isaacchi...@gmail.com): The issue may need to be more discussed. It is a common issue under current front-end code, not only happens in deleting physical network. It's hard to make decision when solving the issue, because there is a general error handling in cloudStack.js and it limits the callback scope. I have a suggestion, maybe we can put the statusCode callback in the cloudStack.js and left the error callback to do it's jobs when associated ajax call failed, e.g., removing the $loading div when a detail view action failed. Please correct me if I get something wrong, Thank you. Regards > The detail view doesn't recover from loading status when trying to delete a > zone with physical network on it > ------------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-2274 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2274 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: UI > Environment: Mater > Reporter: Isaac Chiang > Assignee: Pranav Saxena > Priority: Minor > Labels: ui > Attachments: Screen Shot 2013-04-29 at 11.05.11 AM.png, Screen Shot > 2013-04-29 at 11.05.17 AM.png > > > When trying to delete a zone without removing the physical network first, it > shows an error message with "The zone is not deletable because there are pods > in this zone". Once you close the message dialog, the detail view wont > recover from loading stage. -- 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