Closed Bug 276812 Opened 20 years ago Closed 20 years ago

If you define a message filter with Message Filter window open, filter doesn't appear.

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gworley, Assigned: standard8)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041231
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041231

When you define a message filter with the Message filter window open Message
Filter window doesn't show new filter unless you close Message Filter window and
then re-open or you change email servers then change back to the orignal.

Reproducible: Always

Steps to Reproduce:
1. Open Mail & Newsgoups.
2. Open Message Filter window.
3. Go back to back to Mail & Newsgroups window.
4. Define a Message Filter.
5. Go back to Message Filter window.

Actual Results:  
Message filter wasn't there.   Had to close and reopen message filter window to
see newly defined filter.

Expected Results:  
2 things should have happened.

1) Message Filter window should have come up on it's on.
2) Newly defined message filter should have appear
Confirming bug and setting OS to all. I can reproduce on Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.8a6) Gecko/20050103.

Errors produced on console as follows when OK of filter dialog is selected:
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "preselectedFolder is not defined" {file:
"chrome://messenger/content/mailWindowOverlay.js" line: 1404}]' when calling
method: [nsIController::doCommand]"  nsresult: "0x80570021
(NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame ::
chrome://global/content/globalOverlay.js :: goDoCommand :: line 69"  data: yes]
************************************************************
An error occurred executing the cmd_createFilterFromMenu command
[Exception... "'[JavaScript Error: "preselectedFolder is not defined" {file:
"chrome://messenger/content/mailWindowOverlay.js" line: 1404}]' when calling
method: [nsIController::doCommand]"  nsresult: "0x80570021
(NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame ::
chrome://global/content/globalOverlay.js :: goDoCommand :: line 69"  data: yes]

This may be a regression from the avairy to seamonkey port of bug 271696.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Windows XP → All
This patch adds the missing changes from preselectedFolder to folder for both
mailnews and TB. Going for r + sr at the same time as it's a simple fix.
Assignee: sspitzer → mark
Status: NEW → ASSIGNED
Attachment #170141 - Flags: superreview?(bienvenu)
Attachment #170141 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 170141 [details] [diff] [review]
Patch to fix regression for Mailnews and TB

Oops - fallout from bug 271696 I see ;-)
Attachment #170141 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #170141 - Flags: superreview?(bienvenu) → superreview+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
*** Bug 277164 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: