Closed
Bug 517996
Opened 15 years ago
Closed 15 years ago
Tools|Delete Mail Marked As Junk Folder not working in 20090921 nightly
Categories
(SeaMonkey :: MailNews: Backend, defect)
SeaMonkey
MailNews: Backend
Tracking
(Not tracked)
VERIFIED
FIXED
seamonkey2.0
People
(Reporter: glgxg, Assigned: rkent)
References
Details
(Keywords: fixed-seamonkey2.0, regression)
Attachments
(1 file, 1 obsolete file)
1.09 KB,
patch
|
neil
:
review+
neil
:
superreview+
kairo
:
approval-seamonkey2.0+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090918 Lightning/1.0pre SeaMonkey/2.0pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090921 Lightning/1.0pre SeaMonkey/2.0pre Tools|Delete Mail Marked As Junk Folder not working in 20090921 nightly Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090921 Lightning/1.0pre SeaMonkey/2.0pre Also does not work in: Does not work with: <http://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/2009-09-20-00-comm-1.9.1/> [seamonkey-2.0pre.en-US.linux-i686.tar.bz2 20-Sep-2009 01:04 12M] Works with: <http://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/2009-09-18-23-comm-1.9.1/> Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090918 Lightning/1.0pre SeaMonkey/2.0pre Reproducible: Always Steps to Reproduce: 1. Filter spam/junk to email account 'Junk' folder. 2. Use 'Tools|Delete Mail Marked as junk Folder' Actual Results: emails marked as junk are not deleted/moved to trash.
Comment 1•15 years ago
|
||
Kent, any clue what could be up there?
Updated•15 years ago
|
Keywords: regression,
regressionwindow-wanted
Version: unspecified → Trunk
Still not working in today's nightly: Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090922 Lightning/1.0pre SeaMonkey/2.0pre
Assignee | ||
Comment 3•15 years ago
|
||
Error console shows "reference to undefined property gFolderDisplay.displayedFolder" in junkCommands.js, so this is one of those TB/SM difference issues. Should be easy to fix though, so I'll work on it.
Assignee: nobody → kent
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Assignee | ||
Comment 4•15 years ago
|
||
I'm pretty sure that this is a regression from bug 516453.
Assignee | ||
Comment 5•15 years ago
|
||
Bug 517238 adds some additional stubs for gFolderDisplay, but not the one I need. But I will wait until that lands to work on this because of bitrotting issues. (Maybe dependency isn't technically correct, but it does give me the bugmail notification that I want.)
Depends on: 517238
Comment 6•15 years ago
|
||
get displayedFolder() { return gDBView ? gDBView.msgFolder : null; }
Comment 7•15 years ago
|
||
(In reply to comment #6) > get displayedFolder() > { > return gDBView ? gDBView.msgFolder : null; > } Which folder do we want in the case of a) a single-folder search folder? b) a server (account)? gMsgFolderSelected returns the server or logical folder as displayed; gDBView && gDBView.msgFolder returns the real folder underlying the search, but never returns a server.
Assignee | ||
Comment 8•15 years ago
|
||
(In reply to comment #7) > Which folder do we want in the case of a) a single-folder search folder? b) a > server (account)? gMsgFolderSelected returns the server or logical folder as > displayed; gDBView && gDBView.msgFolder returns the real folder underlying the > search, but never returns a server. At least for the junkCommands.js case, we want the underlying folder for the single-folder case, and the virtual folder for the cross-folder case. The server is don't care, as the underlying command is disabled if there are no messages selected, and you can't select a message when you are pointing to a server.
Assignee | ||
Comment 9•15 years ago
|
||
Attachment #402304 -
Flags: superreview?(neil)
Attachment #402304 -
Flags: review?(neil)
Assignee | ||
Updated•15 years ago
|
Comment 10•15 years ago
|
||
Comment on attachment 402304 [details] [diff] [review] use gMsgFolderSelected as in the previous code Aren't you going to remove the detection code from junkCommands.js ?
Attachment #402304 -
Flags: superreview?(neil)
Attachment #402304 -
Flags: superreview+
Attachment #402304 -
Flags: review?(neil)
Attachment #402304 -
Flags: review+
Assignee | ||
Comment 11•15 years ago
|
||
(In reply to comment #10) > (From update of attachment 402304 [details] [diff] [review]) > Aren't you going to remove the detection code from junkCommands.js ? Yes I suppose I should.
Assignee | ||
Comment 12•15 years ago
|
||
Attachment #402304 -
Attachment is obsolete: true
Attachment #402459 -
Flags: superreview?(neil)
Attachment #402459 -
Flags: review?(neil)
Comment 13•15 years ago
|
||
Comment on attachment 402459 [details] [diff] [review] Removing unneeded check in junkCommands.js Well, I don't mind if you really want to do it piecemeal, but maybe we should clean up junkCommands.js in a separate bug.
Attachment #402459 -
Flags: superreview?(neil)
Attachment #402459 -
Flags: superreview+
Attachment #402459 -
Flags: review?(neil)
Attachment #402459 -
Flags: review+
Assignee | ||
Comment 14•15 years ago
|
||
Comment on attachment 402459 [details] [diff] [review] Removing unneeded check in junkCommands.js a=dmose on IRC for mailnews checkin
Assignee | ||
Comment 15•15 years ago
|
||
Comment on attachment 402459 [details] [diff] [review] Removing unneeded check in junkCommands.js I need the SM approval as well before I can checkin.
Attachment #402459 -
Flags: approval-seamonkey2.0?
Updated•15 years ago
|
Attachment #402459 -
Flags: approval-seamonkey2.0? → approval-seamonkey2.0+
Assignee | ||
Comment 16•15 years ago
|
||
Checked in: http://hg.mozilla.org/comm-central/rev/b3ca8b51f9fe
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•15 years ago
|
||
Thanks guys.
Updated•15 years ago
|
Keywords: fixed-seamonkey2.0
Reporter | ||
Comment 18•15 years ago
|
||
Confirmed as fixed. Build identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090925 Lightning/1.0pre SeaMonkey/2.0pre
Assignee | ||
Updated•14 years ago
|
Whiteboard: [needs r/sr neil]
You need to log in
before you can comment on or make changes to this bug.
Description
•