Closed Bug 499273 Opened 16 years ago Closed 16 years ago

"Delete Mail Marked as Junk in Folder" action in Tools menu doesn't work.

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b3

People

(Reporter: tmark00, Assigned: rain1)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090618 Minefield/3.6a1pre (.NET CLR 3.5.30729) Build Identifier: Shredder/3.0b3pre Gecko/20090618 "Delete Mail Marked as Junk in Folder" action in Tools menu doesn't work with builds from about last 6 days. No messages in Error Console. Reproducible: Always Steps to Reproduce: 1. Go to folder with mail marked as junk 2. Use Delete Mail Marked as Junk in Folder action 3. Nothing happens Actual Results: Nothing Expected Results: Delete junk mail. All clear.
Confiming. In a console, I see: "An error occurred executing the cmd_deleteJunk command. TypeError: gMsgFolderSelected is undefined". This is probably a regression from bug 474701, which should be tracked in bug 497199. Marking dependency.
Assignee: nobody → kent
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → Thunderbird 3.0b3
Assignee: kent → nobody
Status: ASSIGNED → NEW
Assignee: nobody → sid.bugzilla
plus a couple of basic mozmill tests for junk messages.
Attachment #384142 - Flags: superreview?(bienvenu)
Attachment #384142 - Flags: review?(bienvenu)
As for the change in <https://bugzilla.mozilla.org/attachment.cgi?id=384142&action=diff#a/mail/base/content/folderPane.js_sec1>, I tried editing a search folder and it seemed to work.
Status: NEW → ASSIGNED
OS: Windows XP → All
Hardware: x86 → All
Flags: blocking-thunderbird3+
Keywords: regression
I need these fixes to junkCommands.js prior to finishing my bug 496015.
Blocks: 496015
Whiteboard: [needs review bienvenu]
Attachment #384142 - Flags: superreview?(bienvenu)
Attachment #384142 - Flags: superreview+
Attachment #384142 - Flags: review?(bienvenu)
Attachment #384142 - Flags: review+
Comment on attachment 384142 [details] [diff] [review] fix all uses of gMsgFolderSelected, v1 as I said over IRC - UpdateFolderLocationPicker(gMsgFolderSelected); + UpdateFolderLocationPicker(gFolderDisplay.displayedMessage); this should be gFolderDisplay.displayedFolder; the mozmill test ran, but it put up the first run prompt that junk stuff does when nothing has been classified, so the mozmill test won't be good for unattended running until that's fixed.
nm about the first run prompt; I inadvertently crunched that part of your fix because I needed the rmtree fix to run mozmill at all.
Whiteboard: [needs review bienvenu]
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: