Change in ovirt-engine[master]: core: fix search on fedora 21

oourfali at redhat.com oourfali at redhat.com
Sun Dec 28 07:25:26 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: fix search on fedora 21
......................................................................


core: fix search on fedora 21

The problem was JDK 8 that is installed by default on f21
The search mechanism relies on column order retrieved from a map, it
seems that there are differences that cause that return the columns in
different order in JDK 8.
Code was changed to use a alphabetic order of the column names to build
the condition and relevant test expectations were updated accordingly.

Change-Id: I4e6f2cb0832dc21be9fab9f24858e6f7c4c613ba
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1163400
Signed-off-by: emesika <emesika at redhat.com>
---
M backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/BaseConditionFieldAutoCompleter.java
M backend/manager/modules/searchbackend/src/test/java/org/ovirt/engine/core/searchbackend/SyntaxCheckerTest.java
2 files changed, 19 insertions(+), 2 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, but someone else must approve
  Eli Mesika: Verified
  Oved Ourfali: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/36282
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4e6f2cb0832dc21be9fab9f24858e6f7c4c613ba
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list