Closed Bug 289958 Opened 20 years ago Closed 20 years ago

rss subscriptions dialog sometimes comes up empty

Categories

(MailNews Core :: Feed Reader, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mscott, Assigned: Bienvenu)

Details

Attachments

(1 file)

If I get into a scenario where an RSS folder is missing the .msf file (or mabye when it is out of date?), the subscriptions dialog shows an empty list of feeds. I can fix the problem by clicking on each rss folder forcing a summary file to get built and then bringing up the subscribe dialog. The list is blank because we throw a JS error when we fail to get the database for a particular rss folder: Error: uncaught exception: [Exception... "Component returned failure code: 0x80550006 [nsIMsgFolder.getMsgDatabase]" nsresult: "0x80550006 (<unknown>)" location: "JS frame :: chrome://messenger-newsblog/content/feed-subscriptions.js :: anonymous :: line 328" data: no]
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird1.1
For what it's worth, I had this behaviour in the Apr 2nd build, and maybe in 17th March build too (although I can't verify that). The workaround mentioned above does nothing for me; the .msf file isn't altered just by me viewing an RSS folder, nor is the Subscribe dialog any use; the drop-down list box has no entries and entering a search causes it to close, with this appearing in the JS console: Error: gSubscribableServer has no properties Source File: chrome://messenger/content/subscribe.js Line: 475 And also, the other error I get is slightly different from the one in the previous comment. This comes up when I open the Manage Subscriptions dialog: Error: uncaught exception: [Exception... "Component returned failure code: 0x80550005 [nsIMsgFolder.getMsgDatabase]" nsresult: "0x80550005 (<unknown>)" location: "JS frame :: chrome://messenger-newsblog/content/feed-subscriptions.js :: anonymous :: line 337" data: no] I'm on Win98 SE.
"Manage Subscriptions..." caused the "Error: uncaught exception: ..." like in comment #1 for me too. Managed to get the feeds to display by - manually removing the .msf files -> The feed folders started showing - doing a "Get Messages for Account" -> Feeds in the folder became visible. Btw, this is linux also /20050519 build.
I had a zero-byte .msf-file and the list were empty. When i deleted the file before starting tb, the list was even empty, but when i changed to that rss-folder, the .msf-file was created and the list was no longer empty...
Attached patch proposed fixSplinter Review
try & catch. The remaing problem in is that the feed won't work until the user clicks on the folder to regenerate the database, but after that, the feed will start working because the get new msgs code will recreate the feed urls from the datasource.
Attachment #186603 - Flags: superreview?
Assignee: mscott → bienvenu
Status: ASSIGNED → NEW
Comment on attachment 186603 [details] [diff] [review] proposed fix thanks david.
Attachment #186603 - Flags: superreview? → superreview+
Attachment #186603 - Flags: approval-aviary1.1a2?
Attachment #186603 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Target Milestone: Thunderbird1.1 → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: