Change in ovirt-engine[master]: webadmin: Uninitialized host fails to open hardware tab

masayag at redhat.com masayag at redhat.com
Thu Jan 28 13:00:18 UTC 2016


Moti Asayag has submitted this change and it was merged.

Change subject: webadmin: Uninitialized host fails to open hardware tab
......................................................................


webadmin: Uninitialized host fails to open hardware tab

When hardware sub-tab is selected for uninitialized host,
a NPE is thrown since the HBA collection is null.

In addition, the HostGeneralModel.oupdateAlerts() will be
the only place where alerts are being handled.

Change-Id: I759e49a0418c9a0c21e917b153d4c1ef4c877911
Bug-Url: https://bugzilla.redhat.com/1293574
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostHardwareGeneralModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostListModel.java
3 files changed, 2 insertions(+), 12 deletions(-)

Approvals:
  Alona Kaplan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Moti Asayag: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I759e49a0418c9a0c21e917b153d4c1ef4c877911
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list