Piotr Kliczewski has submitted this change and it was merged.
Change subject: restapi: Fix access to current user
......................................................................
restapi: Fix access to current user
The code that extracts the current user from the backend stores
VdcQueryReturnValue instead of the DbUser it contains. As a result
several places where the user is needed fail with a NPE, as no object is
found assciated to the DbUser class.
Change-Id: I2dae86a0ab152df2971f55d663cf44f4d239f5e9
Bug-Url:
https://bugzilla.redhat.com/1119862
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit c5413a3fc8748d1a260a06a013bf5279799b25e4)
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/security/auth/SessionProcessor.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/30252
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2dae86a0ab152df2971f55d663cf44f4d239f5e9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server