Closed Bug 58179 Opened 24 years ago Closed 12 years ago

End date not included in queries

Categories

(Bugzilla :: Query/Bug List, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: curt, Assigned: LpSolit)

References

Details

Attachments

(1 file, 2 obsolete files)

When querying for bugs across a range of dates the last date is not included in 
the results.  This is probably not what the user would expect.
Attached patch Patch which fixes this bug. (obsolete) — Splinter Review
Keywords: patch, review
Won't this patch break it if the user specifies a specific time instead of just a 
date?
Hmm, yeah.  An unspecified time should convert to either 12:00am or 11:59pm
depending on what field it's in.
Target Milestone: --- → Bugzilla 2.16
Priority: P3 → P2
-> New Bugzilla Product
Assignee: tara → justdave
Component: Bugzilla → Administration
Product: Webtools → Bugzilla
Version: other → unspecified
Wrong Component
Assignee: justdave → endico
Component: Administration → Query/Bug List
Removing patch keyword; Dave found problems with it. We need a fixed version.

Gerv
Keywords: patch, review
We are currently trying to wrap up Bugzilla 2.16.  We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut.  Thus this is being retargetted at 2.18.  If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
*** Bug 145450 has been marked as a duplicate of this bug. ***
Attachment #18115 - Attachment is obsolete: true
This patch fixes the date range in the "Bug Changes" box. I have not looked at
the date ranges in the "Boolean Charts".
Assignee: endico → nobody
These bugs appear to be abandoned.  Retargeting to 2.20
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Hey Joel, have you fixed this already, or will your sqlifyDate cleanup fix this?
Hardware: PC → All
No.  It is still <= 0000 on the day specificed rather than <= 2359 on the day
specified.  Steve's approach is probably a decent way to do it, but we should
check the cross-db stuff too.  We need to go through the code and makes sure
that all calls to sqlifydate know which way they are comparing and make it
consistent.




Comment on attachment 128192 [details] [diff] [review]
Add option to SqlifyDate to add a day

Hit by bitrot...
Attachment #128192 - Flags: review-
Only security and dataloss fixes will be accepted on the 2.20 branch.
Assignee: nobody → query-and-buglist
Severity: normal → minor
QA Contact: mattyt-bugzilla → default-qa
Target Milestone: Bugzilla 2.20 → ---
(In reply to comment #14)
> Only security and dataloss fixes will be accepted on the 2.20 branch.

Is 'Zarro Boogs found.' on a search that should yield results not considered data loss? As mentioned in Bug 145450 (Dupe of this) entering an end date ('2006-11-24') completely breaks the search.

I recently did a Search for a Bug that I had read a user had filed on a specific date, but I did not know its #. Guesing a probable keyword and entering the date in both fields of the 'changed between', I netted 'Zarro Boogs found'. I tried again and again, wasting probably 10 minutes trying different keywords, date ranges and selected search items - all to no avail.

Yet I take out the end date from the search and there it is.

This is a simple problem wit what should be a very simple solution, yet the Bug is 6 YEARS and 1 month old now. That's shocking, and sad.
The bug is still around in Bugzilla.Mozilla.org as of today.

pi
Severity: minor → normal
  We should probably fix this, but if we do, the UI needs to be changed to say "through" instead of "to", if it says "to" anywhere.
Depends on: 674503
Attached patch patch, v1Splinter Review
Assignee: query-and-buglist → LpSolit
Attachment #128192 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #611034 - Flags: review?(dkl)
No longer depends on: 674503
Target Milestone: --- → Bugzilla 4.2
Comment on attachment 611034 [details] [diff] [review]
patch, v1

Review of attachment 611034 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good. r=dkl
Attachment #611034 - Flags: review?(dkl) → review+
Flags: approval4.2+
Flags: approval+
11.5 years to fix this bug. :-/

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Search.pm
Committed revision 8174.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.2/
modified Bugzilla/Search.pm
Committed revision 8063.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: