Change in ovirt-engine[master]: webadmin: Show CanDoAction errors from HotPlugUnplugVmNic in...

ecohen at redhat.com ecohen at redhat.com
Tue Jul 17 12:06:38 UTC 2012


Einav Cohen has submitted this change and it was merged.

Change subject: webadmin: Show CanDoAction errors from HotPlugUnplugVmNic in UI
......................................................................


webadmin: Show CanDoAction errors from HotPlugUnplugVmNic in UI

https://bugzilla.redhat.com/840130

When attempting to deactivate a VM's NIC (action HotPlugUnplugVmNic) and
CanDoAction fails, the error message is not propagated to the UI.  The
JS error is:

  "[...]Cannot find constant 'VdcActionType___HotPlugUnplugVmNic'[...]"

This patch provides the definition needed for GWT to display the error
dialog in the UI.

Change-Id: Ib5321e7c6c9865c9dae15a6f85ae52d747f5ee6e
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/LocalizedEnums.java
M frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties
2 files changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Einav Cohen: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib5321e7c6c9865c9dae15a6f85ae52d747f5ee6e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>



More information about the Engine-commits mailing list