Eli Mesika has submitted this change and it was merged.
Change subject: core: handle boolean values correctly in search
......................................................................
core: handle boolean values correctly in search
In some places fields expected a boolean value in the search engine did
not use the BitValueAutoCompleter
The result was that other values except true/false could be inserted as
a value generating the reported error.
This patch fixes that.
Change-Id: I78b7269f67846bbbb4ed28b0adf0db8a6e2be70b
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1235716
Signed-off-by: emesika <emesika(a)redhat.com>
---
M
backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/AuditLogConditionFieldAutoCompleter.java
M
backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/VdsConditionFieldAutoCompleter.java
2 files changed, 10 insertions(+), 4 deletions(-)
Approvals:
Eli Mesika: Verified; Passed CI tests
Moti Asayag: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/43202
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I78b7269f67846bbbb4ed28b0adf0db8a6e2be70b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org