Unable to post or save a draft to Newsgroups

VERIFIED FIXED in Thunderbird 20.0

Status

MailNews Core
Networking: NNTP
--
major
VERIFIED FIXED
5 years ago
4 years ago

People

(Reporter: JoeS1, Assigned: Karsten Düsterloh)

Tracking

Trunk
Thunderbird 20.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

1.92 KB, patch
Irving
: review+
Details | Diff | Splinter Review
(Reporter)

Description

5 years ago
Steps:
Attempt to post to news.mozilla.org

Error popup
Please verify that your mail and newsgroup setting are correct.

Error console:
    Timestamp: 12/14/2012 6:05:52 PM
    Error: GenericSendMessage FAILED: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgCompose.SendMsg]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: GenericSendMessage :: line 2909"  data: no]
    Source File: chrome://messenger/content/messengercompose/MsgComposeCommands.js
    Line: 2912

This is with Daily as of the 13th
(Reporter)

Comment 1

5 years ago
Another error from a Mozillazine reporter:
    Timestamp: 12/14/2012 11:28:03 AM
    Error: [Exception... "'TypeError: (intermediate value).Count is not a function' when calling method: [nsIRunnable::run]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: no]

Comment 2

5 years ago
I think the Platform should be all since I am a Linux user.

Mozilla/5.0 (X11; Linux i686 on x86_64; rv:20.0) Gecko/20100101 Thunderbird/20.0a1

BuildID: 20121214030351
(Reporter)

Updated

5 years ago
OS: Windows 7 → All
Duplicate of this bug: 821987
I saw also a report in a German newsgroup there SM is also affected (but no error showing in console).
Any NNTP logs?
Flags: needinfo?(jsabash)
(Reporter)

Comment 6

5 years ago
(In reply to Joshua Cranmer [:jcranmer] from comment #5)
> Any NNTP logs?

No, but my feeling here is that we never get to the transition from composition to the actual nntp protocol. It's very similar to if you select the wrong identity and try to post. I can get logs if you really need them.
Flags: needinfo?(jsabash)
(Reporter)

Comment 7

5 years ago
Created attachment 692658 [details]
nntplog

We never attempt to actually send via nntp
(Reporter)

Comment 8

5 years ago
So..if you key in the exact newsgroup url:
news://mozilla.org:119/mozilla.test
The message posts just fine.
tracking-thunderbird20: --- → +
Regression from bug 820377 ?
(Assignee)

Comment 10

5 years ago
Created attachment 693990 [details] [diff] [review]
fix v0

This was broken in 2007 by bug 379070 — the funny question is which devious workaround it was hidden by for all these years … :-/
Assignee: nobody → mnyromyr
Attachment #692658 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #693990 - Flags: review?(irving)
(Assignee)

Updated

5 years ago
Component: Message Compose Window → Networking: NNTP
Product: Thunderbird → MailNews Core
Hardware: x86_64 → All
Comment on attachment 693990 [details] [diff] [review]
fix v0

Review of attachment 693990 [details] [diff] [review]:
-----------------------------------------------------------------

I agree that it would be interesting to know what change uncovered this broken code; that said, it looks right and does the right thing when I test it.
Attachment #693990 - Flags: review?(irving) → review+

Comment 12

5 years ago
(In reply to Karsten Düsterloh from comment #10)
> Created attachment 693990 [details] [diff] [review]
> fix v0

That solves the problem for my SM 2.17a1 on Linux x86_64
(Assignee)

Comment 13

5 years ago
https://hg.mozilla.org/comm-central/rev/95509c6b8032
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Reporter)

Comment 14

5 years ago
verified fixed with tinderbox build
http://hg.mozilla.org/mozilla-central/rev/72ed04aaae1a

Thanks Karsten
Status: RESOLVED → VERIFIED

Comment 15

5 years ago
(In reply to Karsten Düsterloh from comment #10)
> Created attachment 693990 [details] [diff] [review]
> fix v0

In general it does works quite well.

But I still get the message when an autosave event occurs while I edit the newsgroup header (e.g. a second one).

If the Group is spelled correctly all works fine again.

New Bug?
tracking-thunderbird20: + → ---
Target Milestone: --- → Thunderbird 20.0
(In reply to Alfred Peters from comment #15)

> But I still get the message when an autosave event occurs while I edit the
> newsgroup header (e.g. a second one).
> 
> If the Group is spelled correctly all works fine again.
> 
> New Bug?

Yes, new bug please.

Updated

4 years ago
Blocks: 832760

Comment 17

4 years ago
(In reply to Irving Reid (:irving) from comment #16)
> (In reply to Alfred Peters from comment #15)

> > New Bug?
> 
> Yes, new bug please.

Done: Bug 832760
You need to log in before you can comment on or make changes to this bug.