[ https://issues.apache.org/jira/browse/CLOUDSTACK-9655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863749#comment-15863749 ]
ASF GitHub Bot commented on CLOUDSTACK-9655: -------------------------------------------- Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1818 related to this PR, I doubt the action in deleteTemplate on UI (from a zone). ``` if (!args.context.templates[0].crossZones){ queryParams += "&zoneid=" + args.context.zones[0].zoneid; } ``` should "!" is removed in the first line ? I would suggest to add the new button in the template details page, and use this warning message ("message.action.delete.template.for.all.zones"). > The template which is registered in all zones will be deleted by deleting 1 > template on any zone > ------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-9655 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9655 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: UI > Reporter: Rajani Karuturi > Assignee: Rajani Karuturi > > for a crosszone template, trying to delete a copy of it in one zone will > delete it from all the zones without showing any warning in UI. -- This message was sent by Atlassian JIRA (v6.3.15#6346)