Change in ovirt-engine[ovirt-engine-4.0.2]: dal: Fix NUMA node deserialization

oourfali at redhat.com oourfali at redhat.com
Sun Jul 31 14:47:14 UTC 2016


Oved Ourfali has submitted this change and it was merged.

Change subject: dal: Fix NUMA node deserialization
......................................................................


dal: Fix NUMA node deserialization

The List implementation returned by ResultSet#getArray causes
deserialization issues in GWT. The list can be serialized and used in
GWT but when deserializing it again in the backend this exception
occures:

    Exception while dispatching incoming RPC call:
        java.lang.NumberFormatException: For input string: "undefined"

To work around that the array in question is copied to a normal
ArrayList.

Change-Id: I5a32b219c091bb37c05b330547ddeeaa5c0e3d3a
Bug-Url: https://bugzilla.redhat.com/1350861
Signed-off-by: Roman Mohr <rmohr at redhat.com>
(cherry picked from commit d6b1ff0d512947285c72d669cc67b4ba51929739)
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmNumaNodeDaoImpl.java
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Jenkins CI: Passed CI tests
  Roy Golan: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5a32b219c091bb37c05b330547ddeeaa5c0e3d3a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0.2
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan 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