Greg Padgett has uploaded a new change for review.

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 <gpadg...@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(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/50/6250/1
--
To view, visit http://gerrit.ovirt.org/6250
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5321e7c6c9865c9dae15a6f85ae52d747f5ee6e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadg...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to