Closed
Bug 459803
Opened 16 years ago
Closed 16 years ago
Searching with unifinder causes error output and doesn't work
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
VERIFIED
FIXED
1.0b1
People
(Reporter: andreas.treumann, Assigned: fred.jen)
Details
(Keywords: regression)
Attachments
(1 file)
772 bytes,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE:
===================
- open the unifinder
- insert a character in the 'contain' text box
- check the error console
RESULT:
=======
- error output:
Error: fixAlldayDates is not defined
Source File: chrome://calendar/content/calFilter.js
Line: 313
- the filtering doesn't work
EXPECTED RESULT:
================
- no error output
REPRODUCIBLE:
=============
- always
Assignee | ||
Comment 1•16 years ago
|
||
I think they aren't needed anymore, why should we introduce a filter looking for date in a text filter, so I removed it.
Assignee: nobody → fred.jen
Attachment #343020 -
Flags: review?(Berend.Cornelius)
Comment 2•16 years ago
|
||
The function was originally added with Bug Bug 306157 to correctly handle all day events in the unifinder results. Please ensure that you don't regressed this.
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/calendar/base/content/calendar-unifinder.js&mark=&rev=1.25&mark=73-75#72
Assignee | ||
Comment 3•16 years ago
|
||
I think that I took care of it, but I was never sure. IMO this function does what checkIfInRange does. Passing the start and the end date of the filter together with the item should to this function work.This is exactly what isItemWithinRange does. And isItemWithinRange is always applied when I call isItemInFilters.
And everywhere else in the code where the fixAlldayDates function was I replaced it with isItemInFilters to be sure, but actually I am still not sure if I need it always.
Assignee | ||
Updated•16 years ago
|
Attachment #343020 -
Flags: review?(Berend.Cornelius) → review?(philipp)
Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 343020 [details] [diff] [review]
Removed the lines causing the error
Change the review request. Philipp introduced this function, so he might be the one who knows best if we still need it.
Updated•16 years ago
|
Status: NEW → ASSIGNED
Comment 5•16 years ago
|
||
(In reply to comment #2)
I did a short test with storage and ics provider and so far it seems to work correctly after removing the function call.
Comment 6•16 years ago
|
||
Comment on attachment 343020 [details] [diff] [review]
Removed the lines causing the error
Andreas tested this for me with numerous providers and it seems to no longer be required.
r=philipp
Attachment #343020 -
Flags: review?(philipp) → review+
Comment 7•16 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/4515bf6e257a>
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Reporter | ||
Comment 8•16 years ago
|
||
Checked in lightning build 20081021041724 and Sunbird 20081021 -> VERIFIED.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Target Milestone: 1.0 → 1.0b1
You need to log in
before you can comment on or make changes to this bug.
Description
•