Change in ovirt-engine[master]: webadmin: Check selected item for null before running plugin...

tjelinek at redhat.com tjelinek at redhat.com
Tue Mar 29 08:58:51 UTC 2016


Tomas Jelinek has submitted this change and it was merged.

Change subject: webadmin: Check selected item for null before running plugins on it
......................................................................


webadmin: Check selected item for null before running plugins on it

Invoking plugins on events with selected item being null
results in a NPE in SystemTreeItemObject
This situation can happen when an item is unselected in the tree.

Change-Id: I4f4f2ed5c3d32c5396e51e17c7fa9e91c588eddc
Signed-off-by: mirecki <mmirecki at redhat.com>
---
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/PluginEventHandler.java
1 file changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Marcin Mirecki: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/54894
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f4f2ed5c3d32c5396e51e17c7fa9e91c588eddc
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Marcin Mirecki <mmirecki at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Marcin Mirecki <mmirecki at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list