Merge pull request #1352 from GaborApatiNagy/CA-234494

CA-234494: System template cross-pool copy fails with Internal error:assert_can_migrate: inter_pool_metadata_transfer returned nonempty list
This commit is contained in:
Mihaela Stoica 2016-12-20 16:19:02 +00:00 committed by GitHub
commit eecec89a08

View File

@ -100,7 +100,7 @@ namespace XenAdmin.Commands
public new static bool CanExecute(VM vm, Host preSelectedHost)
{
if (vm == null || !vm.is_a_template || vm.Locked)
if (vm == null || !vm.is_a_template || vm.DefaultTemplate || vm.Locked)
return false;
return CrossPoolMigrateCommand.CanExecute(vm, preSelectedHost);