Michal Skrivanek has uploaded a new change for review. Change subject: core: fix error message on create template from VM when the VM is locked ......................................................................
core: fix error message on create template from VM when the VM is locked Change-Id: If56d50e9bb1274a55c5bc7b2d83b16f726561903 Bug-Url: https://bugzilla.redhat.com/1039979 Signed-off-by: Michal Skrivanek <michal.skriva...@redhat.com> --- M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/07/23807/1 diff --git a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties index 3df97e7..372c1c7 100644 --- a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties +++ b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties @@ -131,7 +131,7 @@ VM_POOL_CANNOT_REMOVE_RUNNING_VM_FROM_POOL=Cannot detach VM from VM-Pool. VM is running. VM_POOL_CANNOT_ADD_RUNNING_VM_TO_POOL=Cannot attach VM to VM-Pool. VM is running. VM_INVALID_SERVER_CLUSTER_ID=Invalid Host Cluster id. -VMT_CANNOT_CREATE_TEMPLATE_FROM_DOWN_VM=Cannot ${action} ${type}. VM still running, stop the VM and try again. +VMT_CANNOT_CREATE_TEMPLATE_FROM_DOWN_VM=Cannot ${action} ${type}. VM is locked or still running, try again once VM is in the Down state. VMT_CANNOT_REMOVE_BLANK_TEMPLATE=Cannot ${action} ${type}. Removing Blank Template is not allowed. VMT_CANNOT_EDIT_BLANK_TEMPLATE=Cannot ${action} ${type}. Editing Blank Template is not allowed. VMT_CANNOT_EXPORT_BLANK_TEMPLATE=Cannot export Blank Template. diff --git a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java index 2fd13f8..6bc918b 100644 --- a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java +++ b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java @@ -334,7 +334,7 @@ @DefaultStringValue("Invalid Host Cluster id.") String VM_INVALID_SERVER_CLUSTER_ID(); - @DefaultStringValue("Cannot ${action} ${type}. VM still running, stop the VM and try again.") + @DefaultStringValue("Cannot ${action} ${type}. VM is locked or still running, try again once VM is in the Down state.") String VMT_CANNOT_CREATE_TEMPLATE_FROM_DOWN_VM(); @DefaultStringValue("Cannot ${action} ${type}. Removing Blank Template is not allowed.") -- To view, visit http://gerrit.ovirt.org/23807 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If56d50e9bb1274a55c5bc7b2d83b16f726561903 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Michal Skrivanek <michal.skriva...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches