Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1818 @karuturi in my understanding, the zoneid is not necessary if template is not cross-zone. If template is cross-zone, the zoneid should be passed if template is deleted from the 'Zones' tab (it means template will be deleted from the zone), Otherwise, the template will be deleted from all zones (this is why I suggest to add the new button in template details page, then the zoneid will not be set) Please correct me if I am wrong.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---