Closed Bug 50059 Opened 25 years ago Closed 25 years ago

Newly subscribed newsgroups do not reflect in the folder pane

Categories

(SeaMonkey :: MailNews: Message Display, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: huang, Assigned: Bienvenu)

References

Details

(Keywords: regression, smoketest, Whiteboard: [dogfood+][nsbeta3+]Fix in hand)

Used 08-23-08-M18 commercial build: Cannot subscribe newsgroups from the subscribe dialog 1) Create a new news account (news.mozilla.org) 2) Selected File->Subscribe to bring up the subscribe dialog. 3) Select any newsgroup and subscribe the newsgroup 4) Actual Results: Check the folder pane, there is no subscribed newsgroups displaying on the folder pane. Expected results: Should subscribe newsgroups successfully Problem is occurring on both Linux & WinNT, assuming it's occurring on all platforms. Ccing Scott since Seth is out.
Adding keywords: nsbeta3 & regression, QA ->me.
Keywords: nsbeta3, regression
QA Contact: lchiang → huang
Karen - what happens if you resize the 3pane window. Do your subscribed newsgroups show up? Also, when you go into the Subscribe dlg a second time, is there a checkmark next to the newsgroups you had tried to subscribe to? This can tell if it's actually not subscribing to the newsgroup or if the problem is in displaying the newsgroup in the folder pane.
Severity: normal → critical
Hardware: PC → All
No useful after resize the 3pane window. After open the Subscribe dlg a second time, there is a checkmark next to the newsgroups I had tried to subscribe to. But still not displaying in the folder pane. Problem is also occurring on 08-23-14-M18 commercial build. Adding the godfood for the keywords since there is no workaround here and it impact daily use for subscribe newsgroups.
Keywords: dogfood
Do the newsgroups you subscribe to appear in the folder pane for an existing news server you already have?
Summary: Cannot subscribe newsgroups from the subscribe dialog → Newly subscribed newsgroups do not reflect in the folder pane
1) Problem is only occurring on NEW profile for NEW news account. 2) Problem is NOT occurring for a migrated profile with a existing new server/newsgroups 3) I can subscribe for a migrated profile with existing news server for NEW newsgroup.
I traced this through the RDF code. It's failing to show up in the UI because it's not able to find the newsrc file. The datasource makes a call to GetSubfolders and this fails for the news server. It's failing on rv = nntpServer->GetNewsrcFilePath(getter_AddRefs(mNewsrcFilePath)); in nsNewsFolder::GetSubfolders. cc'ing David in case he has any ideas.
No idea - I'm not sure where the newsrc file gets created - I would have thought it was when you added the host.
I'll look into this.
Assignee: sspitzer → bienvenu
Priority: P3 → P1
OK, I believe this is because we were not writing out the newsrc file when the user finished subscribing (which we should have been doing). We were just writing out the newsrc file when the protocol object got deleted, which before the NNTP connection cache, was every time we ran a news url. So, the fix is to write out the newsrc file when we've finished in the subscribe ui, which I've got change does this.
Status: NEW → ASSIGNED
Whiteboard: Fix in hand
I'll mark nsbeta3+
Whiteboard: Fix in hand → [nsbeta3+]Fix in hand
Target Milestone: --- → M18
this is actually a smoketest blocker (I guess critical is fine). If I can't subscribe to a newsgroup then I can't test reading or posting to newsgroups. Adding smoketest keyword. Any ETA on landing the fix? I see this in mozilla win32 and Mac builds 082409.
Keywords: smoketest
I can check this in when the tree opens. But if my theory is right, this should have been broken for several weeks.
You can still test reading/posting to a newsgroup with a migrated profile where there are current newsgroups subscribed to. Personally, I don't think this is a smoketest blocker as there is a workaround which doesn't prevent us from testing the reading/posting functionality of a newsgroup.
> this should have been broken for several weeks. I know there was bug 48512 broke for several weeks, but not this one....
thanks for pointing that one out. They are the same bug.
I thought that they were different: bug 48512 display the subscribed newsgroups initially, but after exit the app. and relaunch again, sometimes(not everytime) it will disappear. But this bug is worse than that, it won't display at all even after subscribed....
Putting on [dogfood+] radar. Blocking testing of this for QA.
Whiteboard: [nsbeta3+]Fix in hand → [dogfood+][nsbeta3+]Fix in hand
I'm sorry Karen, you're right - at a certain level, they're two different bugs. They both have to do with changes not getting written out to the newsrc file, but for two different reasons, it turns out. One is the massive nsILocalFile whackage, or whatever it was - carlen just broke the code that creates a new newsrc file.
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 50266 has been marked as a duplicate of this bug. ***
By uisng today's 08-25-08-M18 commercial build. I tried on poisonivy news server is working fine. But, it seems that today's news.mozilla.org & news News servers have connection problem. I couldn't verify this bug currently. I probably will wait for verifying later....
Finally get good build for verify this bug. Verified on all the platrofmes: Linux 08-30-08-M18 commercial build WinNT 08-30-08-M18 commercial build Mac 08-30-08-M18 commercial build Newly subscribed newsgroups did reflect on the folder pane now, good fix!! Marking as verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Component: MailNews: Subscribe → MailNews: Message Display
QA Contact: huang → search
You need to log in before you can comment on or make changes to this bug.