Closed Bug 301261 Opened 19 years ago Closed 19 years ago

uninitialized value in Bugzilla/Search.pm when querying by date

Categories

(Bugzilla :: Bugzilla-General, defect)

2.19.3
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: altlist, Assigned: altlist)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

If I query for all bugs newer than 1 day, I get this message:
  buglist.cgi: Use of uninitialized value in string eq at Bugzilla/Search.pm
line 1420.


Reproducible: Always

Steps to Reproduce:
Attached patch suggested patch β€” β€” Splinter Review
Blocks: bz-warnings
I cannot reproduce (error_log is clean). Have you a detailed testcase, please?

Moreover, don't forget to ask for review. Else your patch won't fall into our radar.
Comment on attachment 189735 [details] [diff] [review]
suggested patch

Sorry about that, below is the explicit link I used to cause the warning
message.

buglist.cgi?query_format=advanced&&chfieldfrom=1d&chfieldto=Now&chfieldvalue=
Attachment #189735 - Flags: review?(LpSolit)
FYI, the query you did is "find all bugs created between today and tomorrow" !?!
(In reply to comment #4)
> FYI, the query you did is "find all bugs created between today and tomorrow" !?!

Well, I was trying to truncate the search to (hopefully) simplify the test case.
But the actual search was "find all bug changes since a day ago (1d)"
Comment on attachment 189735 [details] [diff] [review]
suggested patch

r=LpSolit
Attachment #189735 - Flags: review?(LpSolit) → review+
Assignee: general → altlst
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: approval?
Flags: approval2.20?
Target Milestone: --- → Bugzilla 2.20
Version: unspecified → 2.19.3
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
tip:

Checking in Bugzilla/Search.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v  <--  Search.pm
new revision: 1.105; previous revision: 1.104
done

2.20rc1:

Checking in Bugzilla/Search.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v  <--  Search.pm
new revision: 1.99.2.3; previous revision: 1.99.2.2
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: