Change in ovirt-engine[master]: Fix watchdog configuration for localized webadmin

tjelinek at redhat.com tjelinek at redhat.com
Mon Sep 1 08:21:04 UTC 2014


Tomas Jelinek has submitted this change and it was merged.

Change subject: Fix watchdog configuration for localized webadmin
......................................................................


Fix watchdog configuration for localized webadmin

Watchdog settings for type and action were directly translating
the possible values. That caused issues during saving as the
selected enum value could not be detected due to localization.

This updates the code to use the proper way of rendering localized
enums.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1135467
Change-Id: Id1ff4c839c112d4a8956cc40f5ee30294c67cc08
Signed-off-by: Martin Sivak <msivak at redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/popup/AbstractVmPopupWidget.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/configure/instancetypes/InstanceTypeListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/TemplateListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/ExistingInstanceTypeModelBehavior.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/InstanceTypeManager.java
8 files changed, 100 insertions(+), 96 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Martin Sivák: Verified



-- 
To view, visit http://gerrit.ovirt.org/32131
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id1ff4c839c112d4a8956cc40f5ee30294c67cc08
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list