Closed
Bug 351565
Opened 19 years ago
Closed 4 years ago
Existence of movemail account prevents all accounts from being synced for offline use
Categories
(MailNews Core :: Movemail, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: td, Unassigned)
References
Details
(Whiteboard: [patchlove])
Attachments
(1 file, 1 obsolete file)
2.49 KB,
patch
|
mnyromyr
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.6) Gecko/20060728 SUSE/1.5.0.6-1.4 Firefox/1.5.0.6
Build Identifier: Thunderbird version 1.5.0.5 (20060725)
I have several accounts (IMAP/POP3) configured in TB.
Usually File->Offline->Work Offline->Download works fine.
If I add a movemail account syncing doesn't work any more.
Reproducible: Always
Steps to Reproduce:
1. add a movemail account
2. try to download messages for offline use
Actual Results:
Nothing, except for a quick message rushing through the status bar (something like "no new messages are on the server").
Expected Results:
Normal download of all messages in all folders marked for offline use.
Blocks: 350380
Comment 1•18 years ago
|
||
A big 'ol me too. I was wondering why my messages weren't being downloaded. Saw this bug report, removed the movemail account, and voila, the download/sync menu item actually downloads everything.
A couple of observations from when the movemail account was there: if you go to the properties on the individual folder, select the Offline tab, and click the Downlad now button, it will actually synchronize. Second, the problem seemed to be with messages that were moved into IMAP folders; the act of reading the message in the folder seemed to be enough to make the synchronization happen.
Comment 2•17 years ago
|
||
Yup; Me TOO!
As above, complete ditto
Now I know how to get my mail locally; but, now I can't get my logs...
Weird, why would these two components be mucking with each other?
Comment 3•17 years ago
|
||
Hmm, is there an explanation why the person this bug is assigned to is being excluded from receiving mail on this bug...? Perhaps it needs re-assigning?
Comment 4•17 years ago
|
||
Here you go, current default assignee and QA contact instead of the defaults from a year ago; just like having a leprechaun grant you a wish, isn't it?
Assignee: mscott → nobody
Comment 5•17 years ago
|
||
I suspected I was likely to get more than I bargained for...:)
Comment 6•17 years ago
|
||
how is this related to bug 350380?
Comment 8•17 years ago
|
||
Maybe this has a similar cause as bug 278383...
Assignee: nobody → pkwarren
Component: General → MailNews: Movemail
Product: Thunderbird → Core
QA Contact: general → movemail
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 10•17 years ago
|
||
Reconfirmed on Linux trunk, 3.0b1pre.
If you select Work Offline and then (attempt to) download messages before going offline, it doesn't actually go offline although the indicator seems to indicate that is offline.
Bumping up to major.
Severity: normal → major
Version: unspecified → Trunk
Comment 11•16 years ago
|
||
Oh, that's why it fails. Since movemail downloads synchronously, it doesn't bother with the URL listeners, which is how the offline manager decides to move to the next account. The simplest fix would be to construct a URI and use the listener stuff. Some clients may not like the url listener being used before GetNewMail is called, but such is life.
Status: NEW → ASSIGNED
Updated•16 years ago
|
Assignee: pkwarren → Pidgeot18
Comment 12•16 years ago
|
||
This allows nsMsgOfflineManager to go offline with movemail. It should probably be noted somewhere that some callers depend on GetNewMail using nsIURLListeners to work properly.
Another option I did not explore would be to make the offline manager not download inherently offline protocols.
Attachment #389409 -
Flags: superreview?(bienvenu)
Attachment #389409 -
Flags: review?(mnyromyr)
Comment 13•16 years ago
|
||
Comment on attachment 389409 [details] [diff] [review]
Patch, version 1
why not poke aUrlListener directly? aUrlListener->OnStartRunningUrl(nsnull), aUrlListener->OnStopRunningUrl(nsnull, rv);
Updated•16 years ago
|
Attachment #389409 -
Attachment is obsolete: true
Attachment #389409 -
Flags: superreview?(bienvenu)
Attachment #389409 -
Flags: review?(mnyromyr)
Comment 14•16 years ago
|
||
Comment on attachment 389409 [details] [diff] [review]
Patch, version 1
marking obsolete since jcranmer's going to try my suggestion.
Comment 15•16 years ago
|
||
Updated patch, using bienvenu's suggestion.
Attachment #390649 -
Flags: superreview?(bienvenu)
Attachment #390649 -
Flags: review?(mnyromyr)
Comment 16•16 years ago
|
||
Comment on attachment 390649 [details] [diff] [review]
Patch, version 2
sr=me, with one nit:
@@ -382,6 +383,7 @@ nsMovemailService::GetNewMail(nsIMsgWind
nsIURI ** aURL)
{
LOG(("nsMovemailService::GetNewMail"));
+ NS_ENSURE_ARG_POINTER(aURL);
you can lose that change - we allow callers to pass null in if they don't care about the resulting url, and we don't assign it if null. (In this case, we never assign it, actually).
Attachment #390649 -
Flags: superreview?(bienvenu) → superreview+
Updated•16 years ago
|
Attachment #390649 -
Flags: review?(mnyromyr) → review+
Comment 17•16 years ago
|
||
Pushed as changeset 3200:484c394ba889, with bienvenu's nit.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Summary: Existance of movemail account prevents all accounts from being synced for offline use → Existence of movemail account prevents all accounts from being synced for offline use
Comment 18•16 years ago
|
||
This now utterly crashes almost any profile with a Movemail account when getting new mails by biff or manually.
I wonder under which circumstances I tested this patch that I didn't crash... :-(
1. Startup with "Check on startup": see bug 507721
2. Even with NS_ENSURE_ARG_POINTER(aURL), you can't get new mails for Movemail:
An error occurred executing the cmd_getNewMessages command
[Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgIncomingServer.getNewMessages]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/mailCommands.js :: GetNewMessages :: line 56" data: no]
Backing out as <http://hg.mozilla.org/comm-central/rev/ffc4730d6619>.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 20•14 years ago
|
||
no activity for a long time, should be closed
Comment 21•14 years ago
|
||
(In reply to comment #20)
> no activity for a long time, should be closed
No, there was a valid bug, that we don't know if it has been fixed or not, and there's a patch that was started but needs revisiting.
Comment 22•14 years ago
|
||
(In reply to comment #20)
> no activity for a long time, should be closed
Nope, the bug still exists. Just because I haven't touched it for 1.5 years doesn't mean it isn't a bug anymore
Status: REOPENED → NEW
Updated•12 years ago
|
Assignee: Pidgeot18 → nobody
Updated•9 years ago
|
Whiteboard: [patchlove]
Comment 23•9 years ago
|
||
Re Comment 22:
I've been using 'Server Type: Unix Movemail' successfully for a long time now.
So, 'worksforme'
So, imho, should be closed fixed
Comment 24•4 years ago
|
||
Support for Movemail has been removed as of version 87 per Bug 1625741
Status: NEW → RESOLVED
Closed: 16 years ago → 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•