Eli Mesika has submitted this change and it was merged.
Change subject: core: [search] Users: role = * returns nothing / ERROR
......................................................................
core: [search] Users: role = * returns nothing / ERROR
Error message is
[search] Users: role = * returns nothing / ERROR: column vdc_users.mla_role
does not exist.
This patch adds an infrastructure that allows us to map specific columns that
exist in the tag tables but not in the regular tables to solve
this specific scenario, and any such future scenario.
Change-Id: I742877bf4debfdacc44659359c40e9d6d0a99a3b
Bug-Url:
https://bugzilla.redhat.com/1187693
Signed-off-by: lzelkha(a)redhat.com <lzelkha(a)redhat.com>
---
M
backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/SearchObjectAutoCompleter.java
M
backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/SearchObjects.java
M
backend/manager/modules/searchbackend/src/main/java/org/ovirt/engine/core/searchbackend/SyntaxChecker.java
M
backend/manager/modules/searchbackend/src/test/java/org/ovirt/engine/core/searchbackend/SyntaxCheckerTest.java
4 files changed, 27 insertions(+), 5 deletions(-)
Approvals:
Eli Mesika: Looks good to me, approved
Liran Zelkha: Verified
--
To view, visit
https://gerrit.ovirt.org/38502
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I742877bf4debfdacc44659359c40e9d6d0a99a3b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server