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

oourfali at redhat.com oourfali at redhat.com
Mon Jul 25 12:59:48 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>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmNumaNodeDaoImpl.java
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Looks good to me, but someone else must approve
  Roman Mohr: Verified
  Roy Golan: Looks good to me, approved
  Oved Ourfali: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5a32b219c091bb37c05b330547ddeeaa5c0e3d3a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list