Closed Bug 507349 Opened 15 years ago Closed 15 years ago

filter dialog unusable when opened in smart folders mode

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b4

People

(Reporter: mkmelin, Assigned: rkent)

Details

Attachments

(1 file, 2 obsolete files)

Tools | Message Filters is unusable if you open it in smart folders mode.

Error: uncaught exception: unable to find folder to select!

Error: gCurrentFilterList is undefined
Source File: chrome://messenger/content/FilterListDialog.js
Line: 294
Flags: blocking-thunderbird3+
Thought I'd give a little effort to a blocker.
Assignee: nobody → kent
Status: NEW → ASSIGNED
Attachment #393407 - Flags: superreview?(bienvenu)
Attachment #393407 - Flags: review?(bienvenu)
thx a lot for looking at this, Kent. Why not change the nsIMsgIncomingServer canHaveFilters attribute to be read write?
That would work as well - and I assume that is what you prefer from your question. I don't have a strong opinion, I was just trying to follow as much as possible the existing design, which seemed to be that subclasses were responsible to implement that for themself.
yes, I prefer that - subclasses are one thing, but having a separate interface that essentially overrides the value could be a little confusing.
Here's the version doing the change at the parent class instead.
Attachment #393407 - Attachment is obsolete: true
Attachment #394337 - Flags: superreview?(bienvenu)
Attachment #394337 - Flags: review?(bienvenu)
Attachment #393407 - Flags: superreview?(bienvenu)
Attachment #393407 - Flags: review?(bienvenu)
Attachment #394337 - Flags: superreview?(bienvenu)
Attachment #394337 - Flags: superreview+
Attachment #394337 - Flags: review?(bienvenu)
Attachment #394337 - Flags: review+
Comment on attachment 394337 [details] [diff] [review]
remove readonly from canHaveFilters in nsIMsgIncomingServer

this looks good, but can you add an NS_ENSURE_ARG_POINTER to GetCanHaveFilters for correctness (and Venkman's) sake?
Patch to checkin.
Attachment #394337 - Attachment is obsolete: true
Attachment #394344 - Flags: superreview+
Attachment #394344 - Flags: review+
Keywords: checkin-needed
Comment on attachment 394344 [details] [diff] [review]
Fixed nits
[Checkin: Comment 8]


http://hg.mozilla.org/comm-central/rev/6ba55ef79e06
Attachment #394344 - Attachment description: Fixed nits, carrying over r/sr → Fixed nits [Checkin: Comment 8]
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b4
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: