Closed Bug 114607 Opened 18 years ago Closed 4 years ago

Newsgroups: Dialog for 'download max number of headers' will not appear for following subscribed NG if once set to "0"


(MailNews Core :: Backend, defect)

Not set


(firefox42 affected, seamonkey2.35 affected, seamonkey2.39 affected)

Thunderbird 44.0
Tracking Status
firefox42 --- affected
seamonkey2.35 --- affected
seamonkey2.39 --- affected


(Reporter: stmoebius, Assigned: mkmelin)



(1 file)

Using build 2001121003.
If you subscribe to a newsgroup but set the number of articles to "0" you will
never be prompted again and _all_ articles will be downloaded instead.

Reproducible: Always
Steps to reproduce:
1. Subscribe to two large newsgroups (>500 posts)
2. Select the first one
  -> You will be prompted whether you want to download 500 or all posts
3. Change the number to zero and click Download
  -> Nothing happens (as expected)
4. Select the second newsgroup
Actual result:
  -> MailNews starts downloading _all_ post in that newsgroup
Expected result:
  The dialog should open up again, asking for the number of posts to be

I changed prefs.js: mail.server.server3.max_articles to some other value and it
worked again.
Confirmed with 2001-12-12-03 under W2K
Ever confirmed: true
Perhaps we shouldn't allow 0.  There's a preference in the Account Settings for
a news server that should allow this to be changed.  Did that not work?
Target Milestone: --- → Future
That does work. But I found that pref only after I filed the bug. But I think
that mozilla's behavior is not very intuitive here.
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Component: MailNews: Subscribe → MailNews: Message Display
QA Contact: stephend → search
This bug is being marked EXPIRED as it has seen no activity in a very long time.

If you think that the issue reported might still be relevant, please test with a recent release of SeaMonkey and if the problem persists feel free to re-open the report. Thank you.
Closed: 11 years ago
Resolution: --- → EXPIRED
Bulk reopening incorrectly expired bugs - no activity does not constitute no bug - these need proper checking.
Resolution: EXPIRED → ---
Assignee: mail → nobody
QA Contact: search → message-display
Target Milestone: Future → ---
Still REPRIDUCIBLE with German SeaMonkey 2.32.1 Build 20150204202218 on German WIN7 64bit
I tried with and, see effect as reported. 
I will do some further research concerning the roots of the problem before I will confirm.
Still REPRODUCIBLE with  SeaMonkey DE 2.39a1 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0 from official download area)  Gecko/20100101  Firefox/42.0  Build 20150728011950  (Classic Theme) on German WIN7 64bit

10. Add news account with server  → Port  119 → no security
   Click Account → Server Settings → Ask me before downloading more than xxx
   Messages, modify xxx to "500" if necessary 
11. Click new account → Manage News Subscriptions
12. Subscribe to "" and" [ok]
13. Further proceeding as per User Story step 2 and following

Still reproducible, for second NG all news will be downloaded without ssikng again

Additional Information

a) I also did a Test with TB nightly 42.0a1 (2015-07-25), also reproducible, 
   so CORE problem.
b) I observed an additional strange thins in SM an TB: After the test the server 
   setting for max. downloads was modified to "1" (from "500"). I think 
   that setting should not be modified, this is a separate bug
c) It seems "Ask me before downloading more than 0 messages" is not allowed,
   minimum value is "1"? At least the problem does not appear if I use "1" 
   instead of "0" in user story step 3
Component: MailNews: Message Display → Backend
OS: Windows 2000 → Windows
Product: SeaMonkey → MailNews Core
Summary: Can't change max_article once set to zero → Newsgroups: Dialog for 'download max number of headers' will not appear for following subscribed NG if once set to "0"
Probably due to
2962   // if the user sets max_articles to a bogus value, get them everything
2963   m_numArticlesWanted = m_maxArticles > 0 ? m_maxArticles : 1L << 30;
Ah yes. 
On ok the dialog sets the 
nntpServer.maxArticles = numberElement.value;

... which if it got set to 0 gets set so something really large, per my comment above.

Let's just set the minnimum allowed to 1
Assignee: nobody → mkmelin+mozilla
Attachment #8656761 - Flags: review?(acelists)
So when the user does not want any messages downloaded, should he press cancel instead of inputting 0?
That would be logical, no?
Comment on attachment 8656761 [details] [diff] [review]

Review of attachment 8656761 [details] [diff] [review]:

Ah, and the maxArticles is a server value, not per newsgroup.

> Bug 114607 - set minimum number allowd to 1 in "donwload max number of headers' dialog. r=?
Please fix the typos in "allowd" and the "donwload" and the mismatched quotes :)
Attachment #8656761 - Flags: review?(acelists) → review+ -> FIXED
Closed: 11 years ago4 years ago
OS: Windows → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 44.0
You didn't fix the typos ;)
You need to log in before you can comment on or make changes to this bug.