Closed
Bug 855631
Opened 12 years ago
Closed 12 years ago
Get New Messages for all accounts does not work
Categories
(MailNews Core :: Networking: POP, defect)
MailNews Core
Networking: POP
Tracking
(thunderbird22+ fixed, seamonkey2.19?)
RESOLVED
FIXED
Thunderbird 23.0
People
(Reporter: bugzilla.spam2, Assigned: neil)
References
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
patch
|
mkmelin
:
review+
aceman
:
feedback+
standard8
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0 SeaMonkey/2.19a1
Build ID: 20130327003001
Steps to reproduce:
With recent trunk builds get New Messages for all accounts does not work anymore. Either invoked via menu or shortcut. It happens also in safe mode.
Output of error console:
Error: [Exception... "Not enough arguments [nsIPop3IncomingServer.downloadMailFromServers]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://messenger/content/mailTasksOverlay.js :: MailTasksGetMessagesForAllServers :: line 134" data: no]
Source File: chrome://messenger/content/mailTasksOverlay.js
Line: 140
Regressed by bug 831993.
This also affects Thunderbird in the same way.
I could almost fix this myself but I am not sure what type of array needs to be passed from Javascript to the new function. Neil changed the C++ function to take an array of nsIPop3IncommingServers, which is unfamiliar to me (it is not nsIArray or similar).
Blocks: 831993
Severity: normal → blocker
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Windows XP → All
Hardware: x86 → All
The message for TB is:
[Exception... "Not enough arguments [nsIPop3IncomingServer.downloadMailFromServers]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://messenger/conte
nt/mailWindowOverlay.js :: MsgGetMessagesForAllServers :: line 1433" data: no]
There are 2 spots where this function is used in TB.
Reporter | ||
Updated•12 years ago
|
Component: MailNews: General → Networking: POP
Product: SeaMonkey → MailNews Core
The files where this needs to be fixed are separate for TB and SM but I think we can fix it together in this one bug.
tracking-seamonkey2.19:
--- → ?
tracking-thunderbird22:
--- → ?
Updated•12 years ago
|
Assignee | ||
Comment 4•12 years ago
|
||
I modernised the Thunderbird code to bring it more into line with SeaMonkey and incidentally remove another nsISupportsArray.
The interesting bit is in the very last patch hunk, the rest is just nsISupportsArray removal noise.
Comment on attachment 731007 [details] [diff] [review]
Possible patch
Yes, this seems to work for me on TB.
Attachment #731007 -
Flags: review?(mkmelin+mozilla)
Attachment #731007 -
Flags: review?(acelists)
Attachment #731007 -
Flags: feedback+
Attachment #731007 -
Flags: review?(mbanner)
Comment 6•12 years ago
|
||
Comment on attachment 731007 [details] [diff] [review]
Possible patch
Review of attachment 731007 [details] [diff] [review]:
-----------------------------------------------------------------
::: mail/base/content/mailWindowOverlay.js
@@ +2688,5 @@
> {
> inboxFolder.biffState = Components.interfaces.nsIMsgFolder.nsMsgBiffState_NoMail;
> inboxFolder.clearNewMessages();
> }
> + localFoldersToDownloadTo.push(inboxFolder);
i guess we can drop the |if (inboxFolder)| above.
or else we're just pushing null
Attachment #731007 -
Flags: review?(mkmelin+mozilla) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 23.0
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 731007 [details] [diff] [review]
Possible patch
[Approval Request Comment]
Regression caused by (bug #): 831993
Attachment #731007 -
Flags: approval-comm-aurora?
Attachment #731007 -
Flags: review?(mbanner)
Comment 9•12 years ago
|
||
Comment on attachment 731007 [details] [diff] [review]
Possible patch
Yep, a=me. I'll land this in a bit, as I'm landing other things as well.
Attachment #731007 -
Flags: approval-comm-aurora? → approval-comm-aurora+
Comment 10•12 years ago
|
||
status-thunderbird22:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•