Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
If user uses scoped-search reserved words (such as operators, parentheses, =, etc.) as entity attribute values (name, description, etc), auto_complete suggests using it unquoted which results in wrong query:
e.g. with organization name = AND:
'name = AND' instead of 'name = "AND"'
- applies to both Foreman and Katello pages.
Version-Release number of selected component (if applicable):
# rpm -qa katello
katello-2.5.0-2.nightly.el7.noarch
[root@smqa-x3550m3-02-vm03 ~]# rpm -qa | grep katello
katello-2.5.0-2.nightly.el7.noarch
katello-default-ca-1.0-1.noarch
katello-service-2.5.0-2.nightly.el7.noarch
katello-certs-tools-2.4.0-1.el7.noarch
katello-debug-2.5.0-2.nightly.el7.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el7.noarch
katello-installer-2.5.0-1.nightly.201512150136git40b4975.el7.noarch
tfm-rubygem-katello-2.5.0-.201512150057git5d138841.nightly.el7.noarch
pulp-katello-0.4-3.el7.noarch
katello-installer-base-2.5.0-1.nightly.201512150136git40b4975.el7.noarch
katello-selinux-2.2.2-1.el7.noarch
katello-common-2.5.0-2.nightly.el7.noarch
katello-repos-2.4.0-2.nightly.el7.noarch
katello-server-ca-1.0-1.noarch
How reproducible:
always
Steps to Reproduce:
1. create instance of any entity (e.g. Architecture) with a reserved word as a name (e.g. "(")
2. navigate to Hosts > Architectures
3. focus the search bar
4. click the search suggestions: name -> name = -> name = ( -> name = (( -> ...
5. click search
Actual results:
no or funky results
Expected results:
such values should appear double-quoted in the suggestion exactly as multi word values:
name = "(" -> 1 result
Additional info:
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.
Description of problem: If user uses scoped-search reserved words (such as operators, parentheses, =, etc.) as entity attribute values (name, description, etc), auto_complete suggests using it unquoted which results in wrong query: e.g. with organization name = AND: 'name = AND' instead of 'name = "AND"' - applies to both Foreman and Katello pages. Version-Release number of selected component (if applicable): # rpm -qa katello katello-2.5.0-2.nightly.el7.noarch [root@smqa-x3550m3-02-vm03 ~]# rpm -qa | grep katello katello-2.5.0-2.nightly.el7.noarch katello-default-ca-1.0-1.noarch katello-service-2.5.0-2.nightly.el7.noarch katello-certs-tools-2.4.0-1.el7.noarch katello-debug-2.5.0-2.nightly.el7.noarch tfm-rubygem-hammer_cli_katello-0.0.19-1.el7.noarch katello-installer-2.5.0-1.nightly.201512150136git40b4975.el7.noarch tfm-rubygem-katello-2.5.0-.201512150057git5d138841.nightly.el7.noarch pulp-katello-0.4-3.el7.noarch katello-installer-base-2.5.0-1.nightly.201512150136git40b4975.el7.noarch katello-selinux-2.2.2-1.el7.noarch katello-common-2.5.0-2.nightly.el7.noarch katello-repos-2.4.0-2.nightly.el7.noarch katello-server-ca-1.0-1.noarch How reproducible: always Steps to Reproduce: 1. create instance of any entity (e.g. Architecture) with a reserved word as a name (e.g. "(") 2. navigate to Hosts > Architectures 3. focus the search bar 4. click the search suggestions: name -> name = -> name = ( -> name = (( -> ... 5. click search Actual results: no or funky results Expected results: such values should appear double-quoted in the suggestion exactly as multi word values: name = "(" -> 1 result Additional info: