Closed Bug 164566 Opened 22 years ago Closed 22 years ago

Param and UserInGroup are not defined in Bugzilla::Search

Categories

(Bugzilla :: Query/Bug List, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: jayvdb, Assigned: bbaetz)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Steps to Reproduce:
- run a query against comments.

Result:
Software Error: 
Undefined subroutine &Bugzilla::Search::Param called at Bugzilla/Search.pm line 319.
Undefined subroutine &Bugzilla::Search::UserInGroup called at Bugzilla/Search.pm
line 319.

While we are at it, str2time in SqlifyDate requires a 'use Date::Parse'
otherwise a similar error results for date related queries.  "Undefined
subroutine &Bugzilla::Search::str2time called at Bugzilla/Search.pm line 851."
This covers the Param and UserInGroup issue.
Attached patch no, try thisSplinter Review
You need to |use Date::Parse;| too
Attachment #96645 - Attachment is obsolete: true
Comment on attachment 96646 [details] [diff] [review]
no, try this


Why can't we detect these on compile??
Attachment #96646 - Flags: review+
-> me
Assignee: endico → bbaetz
Target Milestone: --- → Bugzilla 2.18
fixed
Status: NEW → RESOLVED
Closed: 22 years ago
Keywords: regression
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: