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 <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(-)

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 <gpadg...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Einav Cohen <eco...@redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadg...@redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to