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.
Bug 815308 - package filter: search for package starting "^" - traceback
Summary: package filter: search for package starting "^" - traceback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: 827555
TreeView+ depends on / blocked
 
Reported: 2012-04-23 10:39 UTC by Garik Khachikyan
Modified: 2019-09-25 21:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
After synchronizing a repository and creating a filter, errors result when trying to search for packages starting with carets ("^"). This fix escapes the caret, which is can now be used for elastic searches.
Clone Of:
: 827555 (view as bug list)
Environment:
Last Closed: 2012-12-04 19:44:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error screen (188.64 KB, image/png)
2012-04-23 10:39 UTC, Garik Khachikyan
no flags Details
debug logs (223.45 KB, application/x-gzip)
2012-04-23 10:42 UTC, Garik Khachikyan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Garik Khachikyan 2012-04-23 10:39:28 UTC
Created attachment 579480 [details]
error screen

Description of problem:
Red traceback happens when one tries to search for a package by starting to type "^" (having synced a content - custom repo is enough for reproducer)

Version-Release number of selected component (if applicable):
katello-glue-candlepin-0.1.309-1.el6.noarch
pulp-1.0.4-1.el6.noarch
qpid-cpp-client-ssl-0.12-6.el6.x86_64
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-0.1.107-1.el6.noarch
katello-cli-0.1.107-1.el6.noarch
pulp-common-1.0.4-1.el6.noarch
katello-glue-foreman-0.1.309-1.el6.noarch
qpid-cpp-server-0.12-6.el6.x86_64
pulp-selinux-server-1.0.4-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-agent-0.17-1.el6.noarch
katello-certs-tools-1.0.4-1.el6.noarch
katello-common-0.1.309-1.el6.noarch
candlepin-0.5.26-1.el6.noarch
qpid-cpp-client-0.12-6.el6.x86_64
katello-0.1.309-1.el6.noarch
katello-configure-0.1.107-1.el6.noarch
candlepin-tomcat6-0.5.26-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
katello-glue-pulp-0.1.309-1.el6.noarch
katello-selinux-0.1.10-1.el6.noarch
qpid-cpp-server-ssl-0.12-6.el6.x86_64
mod_wsgi-3.3-3.pulp.el6.x86_64
python-qpid-0.12-1.el6.noarch
python-isodate-0.4.4-4.pulp.el6.noarch

How reproducible:
always

Steps to Reproduce:
1.sync a repo (e.g. http://inecas.fedorapeople.org/fakerepos/zoo3/)
2.got to Filters page.
3.create a filter
4. type in "Add package" input: ^

  
Actual results:
traceback (see attached the screenshot)

Expected results:
no traceback(s)

Additional info:
Latest Katello as well has the same issue.
Attached is the screenshat

Comment 1 Garik Khachikyan 2012-04-23 10:42:12 UTC
Created attachment 579485 [details]
debug logs

debug logs attached.

Comment 3 Mike McCune 2012-05-31 15:11:40 UTC
iNecas merged commit 6c20fa1 into Katello:master

Comment 5 Tomas Strachota 2012-06-08 13:48:44 UTC
reopened, second fix f1b1033db6 merged into Katello:master

Comment 8 Garik Khachikyan 2012-10-04 10:04:20 UTC
# VERIFIED

seems fixed. typing ^ in the "Add package" makes no exception any more. thx.

checked on:
---
katello-1.1.12-12.el6cf.noarch

Comment 10 errata-xmlrpc 2012-12-04 19:44:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-1543.html


Note You need to log in before you can comment on or make changes to this bug.