Bug 140726 - Case sensative boolean alias search results in software alias
Summary: Case sensative boolean alias search results in software alias
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General   
(Show other bugs)
Version: 3.2
Hardware: All
OS: Linux
medium vote
Target Milestone: ---
Assignee: PnT DevOps Devs
QA Contact: Mike MacKenzie
Depends On:
TreeView+ depends on / blocked
Reported: 2004-11-24 15:09 UTC by James Laska
Modified: 2013-09-02 06:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-11-21 20:28:05 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description James Laska 2004-11-24 15:09:38 UTC
Basically a case insensative boolean search on the alias field works, however a
case sensative search doesn't.


results in:

Software error:

DBD::Pg::st execute failed: ERROR:  parser: parse error at or near "BINARY" at
character 490 [for Statement "SELECT bugs.bug_id, bugs.bug_severity,
bugs.priority, bugs.bug_status, bugs.resolution, bugs.alias, bugs.delta_ts,
bugs.bug_severity, bugs.priority, bugs.rep_platform, map_assigned_to.login_name,
bugs.bug_status, bugs.resolution, bugs.short_desc FROM bugs LEFT JOIN
bug_group_map  ON bug_group_map.bug_id = bugs.bug_id  LEFT JOIN cc ON cc.bug_id
= bugs.bug_id AND cc.who = 141215  , profiles AS map_assigned_to WHERE
bugs.assigned_to = map_assigned_to.userid AND (POSITION(CAST('RHEL4' AS BINARY)
IN CAST(bugs.alias AS BINARY)) != 0) AND ((bug_group_map.group_id IS NULL)  OR
bug_group_map.group_id IN
 OR (bugs.reporter_accessible = 1 AND bugs.reporter = 141215)  OR
(bugs.cclist_accessible = 1 AND cc.who IS NOT NULL)  OR (bugs.assigned_to =
141215)  OR (bugs.qa_contact = 141215) ) GROUP BY bugs.bug_id,
at Bugzilla/DB.pm line 74
	Bugzilla::DB::SendSQL('SELECT bugs.bug_id, bugs.bug_severity, bugs.priority,
bugs.bu...') called at /var/www/bugzilla/beta/buglist.cgi line 614

For help, please send mail to the webmaster (bugzilla@redhat.com), giving this
error message and the time and date of the error.

Comment 1 David Lawrence 2006-04-08 17:47:24 UTC
Red Hat's current Bugzilla version is 2.18. I am moving all older open bugs to
this version. Any bugs against the older versions will need to be verified that
they are still bugs. This will help me also to sort them better.

Comment 2 Bradley 2006-11-14 05:01:18 UTC
Still happens, with a summary search.

Comment 3 David Lawrence 2008-09-16 16:51:35 UTC
Red Hat Bugzilla is now using version 3.2 of the Bugzilla codebase and therefore this bug will need to be re-verified against the new release. With the updated code this bug may no longer be relevant or may have been fixed in the new code.
Updating bug version to 3.2.

Comment 4 Kevin Baker 2008-11-21 20:28:05 UTC
Works for me.

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