Change in ovirt-engine[ovirt-engine-3.4]: restapi: Avoid NPE with empty app list

oourfali at redhat.com oourfali at redhat.com
Wed Apr 30 14:01:59 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: restapi: Avoid NPE with empty app list
......................................................................


restapi: Avoid NPE with empty app list

Currently we don't check the list of applications installed in a VM to
make sure that the application names aren't empty. This patch fixes
that in order to prevent NPEs.

Change-Id: Ieed7a5b90732f510973bedd7306d236ade4b2b3a
Bug-Url: https://bugzilla.redhat.com/1092380
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit a1c36428498b56234d6293e2392a861260ab91f6)
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmApplicationsResource.java
1 file changed, 6 insertions(+), 8 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieed7a5b90732f510973bedd7306d236ade4b2b3a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list