Closed Bug 667313 Opened 13 years ago Closed 13 years ago

Current Tasks filter is broken at startup if Task View is active

Categories

(Calendar :: Tasks, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mmecca, Assigned: mmecca)

Details

(Whiteboard: [needed beta][no l10n impact])

Attachments

(1 file)

Reproducible: Always

Steps to Reproduce:
1. Switch to Task View, select Current Tasks filter
2. Restart Thunderbird

Actual Results:
When the Current Tasks filter is selected, All tasks are shown, even after switching to a different filter and back. Selecting any date in the mini-month or activating the Calendar tab causes the filter to work normally again.

Expected Results:
Current Tasks filter should work at startup

Error: currentView().selectedDay is null
Source File: chrome://calendar/content/calFilter.js
Line: 260

This doesn't seem to affect windows builds.
Assignee: nobody → matthew.mecca
Attached patch patch v1 — — Splinter Review
Allows filter to handle cases where currentView().selectedDay isn't initialized yet.
Attachment #542038 - Flags: review?(philipp)
Comment on attachment 542038 [details] [diff] [review]
patch v1

Thanks for the patch, r=philipp.

I'll handle the checkin, this needs to go on comm-central, comm-miramar default and comm-miramar's calendar release branch.
Attachment #542038 - Flags: review?(philipp) → review+
Flags: blocking-calendar1.0+
Whiteboard: [needed beta][no l10n impact]
comm-miramar:

changeset:   7849:9881c475be8b
user:        Matthew Mecca <matthew.mecca@gmail.com>
date:        Sun Jun 26 11:45:00 2011 +0200
summary:     Fix bug 667313 - Current Tasks filter is broken at startup if Task View is active. r=philipp

changeset:   7852:251cc8f871ce
branch:      COMM50_20110620_RELBRANCH
user:        Matthew Mecca <matthew.mecca@gmail.com>
date:        Sun Jun 26 11:45:00 2011 +0200
summary:     Fix bug 667313 - Current Tasks filter is broken at startup if Task View is active. r=philipp



comm-central:

changeset:   8017:3baf0a5f7956
user:        Matthew Mecca <matthew.mecca@gmail.com>
date:        Sun Jun 26 11:45:00 2011 +0200
summary:     Fix bug 667313 - Current Tasks filter is broken at startup if Task View is active. r=philipp
Status: NEW → RESOLVED
Closed: 13 years ago
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → 1.0b4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: