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

rgolan at redhat.com rgolan at redhat.com
Mon Jul 25 12:42:59 UTC 2016


Roy Golan 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
  Jenkins CI: Passed CI tests
  Vojtech Szocs: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5a32b219c091bb37c05b330547ddeeaa5c0e3d3a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list