rss subscriptions dialog sometimes comes up empty

RESOLVED FIXED

Status

RESOLVED FIXED
14 years ago
10 years ago

People

(Reporter: mscott, Assigned: Bienvenu)

Tracking

Trunk
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
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]
(Reporter)

Updated

14 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird1.1

Comment 1

14 years ago
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. 

Comment 3

14 years ago
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...
(Assignee)

Comment 4

14 years ago
Created attachment 186603 [details] [diff] [review]
proposed fix

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)

Updated

14 years ago
Assignee: mscott → bienvenu
Status: ASSIGNED → NEW
(Reporter)

Comment 5

14 years ago
Comment on attachment 186603 [details] [diff] [review]
proposed fix

thanks david.
Attachment #186603 - Flags: superreview? → superreview+
(Assignee)

Updated

14 years ago
Attachment #186603 - Flags: approval-aviary1.1a2?

Updated

14 years ago
Attachment #186603 - Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
(Assignee)

Updated

14 years ago
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED

Updated

10 years ago
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.