Tomas Jelinek has uploaded a new change for review. Change subject: webadmin: incorrect instance type name validation ......................................................................
webadmin: incorrect instance type name validation Instance type missed the I18N name validation. Change-Id: Icf3f55f50775e5cf09868ec896c9d7916a214985 Bug-Url: https://bugzilla.redhat.com/1209882 Signed-off-by: Tomas Jelinek <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/11/39811/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java index 1c91216..78aafba 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java @@ -2734,7 +2734,7 @@ public boolean validateHwPart() { resetTabsValidity(); - getName().validateEntity(new IValidation[] {new NotEmptyValidation()}); + getName().validateEntity(new IValidation[] {new NotEmptyValidation(), new I18NNameValidation()}); getMigrationDowntime().validateEntity(new IValidation[] { new NotNullIntegerValidation(0, Integer.MAX_VALUE) }); getTotalCPUCores().validateEntity(new IValidation[] { -- To view, visit https://gerrit.ovirt.org/39811 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icf3f55f50775e5cf09868ec896c9d7916a214985 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tomas Jelinek <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
