Change in ovirt-engine[master]: restapi: Avoid NPE when there is no href

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu May 19 08:11:38 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Avoid NPE when there is no href
......................................................................


restapi: Avoid NPE when there is no href

Currently when an entity is created but it doesn't have an "href"
attribute an NPE is generated. This patch changes the API so that the
NPE is avoided.

Change-Id: I6ccb473f678c247108238a05efc7af776a10f48e
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendCollectionResource.java
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Tal Nisan: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ccb473f678c247108238a05efc7af776a10f48e
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list