bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

Re-adding a feed doesn't list the feed's entries anymore



MailNews Core
Feed Reader
14 years ago
6 years ago


(Reporter: Nickolay_Ponomarev, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [duptome])



14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040730 Firefox/0.9.1+ (best browser EVAR1!!)
Build Identifier: version 0.7+ (20040730)

Re-adding a feed doesn't list the feed's entries anymore

Reproducible: Always
Steps to Reproduce:
1. Add http://www.squarefree.com/burningedge/index.rdf feed.
2. Delete the feed (del, OK, del from trash)
3. Add the feed - http://www.squarefree.com/burningedge/index.rdf - again.

Actual Results:  
The feed's items are no longer shown in the message view (at least most of them
- one item appeared sometimes).

Expected Results:  
The feed's items are all shown in the message view, as they were after step 1.

As I see from debug messages, the reason for such behaviour is that the feed
items are not deleted from feeditems datasource, so FeedItem.isStored() returns
true, and the item is not "stored", that is not added to the message view.

Also... tell me I'm wrong and you're *not* using nor going to use the content of
<link> tag for identifying the item. If it's true (which it seems it is), then
different items with the same URL will clash, some of them won't be stored into
message list etc. (Note, the link provided in the RSS is not intended to be a
global unique id, it is just an "alternate" link).

Comment 1

14 years ago
There's a somewhat complicated work around for this.

1. Make sure you close Thunderbird before making these changes.

2. Look in your profile's "News & Blogs" directory
    (or whatever you called it when you created the account).
    ...\Thunderbird\Profiles\Your Name\Mail\News & Blogs

3. Open feeditems.rdf

4. Delete the description for each missing post you want to download again.
   eg. Remove the <RDF:Description> elements that look like this for eash post.

  <fz:feed RDF:resource="http://www.squarefree.com/burningedge/index.rdf"/>

That's not too hard, just seach for each one that has a URI in the same domain.

5. Restart Thunderbird and check feeds.  All posts will be downloaded for those
that were deleted.

  If you delete a description for a post you still have, then it will just get
downloaded again (assuming it's still in the feed), so you'll have two copies. 
For that reason, I don't recommend you delete the whole file.  Although you can
if you like, if you are subscribed a lot of feeds then each one will end up with
two copies of each post.

I think Thunderbird should delete all descriptions of previous posts when the
feed is deleted, or atleast confirm with the user before doing so.  Otherwise,
when a feed is subscribed to, then Thunderbird should check if there were any
previous posts that had already been read, and have descriptions in
feeditems.rdf, and check with the user, or provide an option to the user to
force downloading of those posts.  I don't know if either of those suggestions
are the ideal solution, it's just my ideas of how to fix this.

Comment 2

14 years ago
Confirmed on TB 0.8 over W2000pro.

Comment 3

14 years ago
Confirming on thunderbird 20040926 Debian.

For me, this happens with a feed, name of which begins with "..".
Actually, readding the feed doesn't work at all. I guess, it's because the .html
and .rsf files are not deleted when deleting rss subscription.

Comment 4

14 years ago
oh wait,

the entries are listed. I've just tested it with another blog (unsibscribing,
removing from trash, closing, resubscribing), and the entries were relisted.

Comment 5

14 years ago
Doesn't work for me: version 0.8 (20041001). confirming per comments 2 and 3.

Rimas, if you figure out which feeds do work and which don't, it would be great.
Ever confirmed: true

Comment 6

13 years ago
bug still here with 20050401, setting version -> Trunk
Version: unspecified → Trunk

Comment 7

13 years ago
Bug here in Windows build version 1.0.2 (20050317).  Example feed:

Comment 8

13 years ago
Bug still in 1.5b1 - perhaps there should be an expunge/purge option with
"Delete feed"?

Comment 9

13 years ago
Why would you ever not want to purge when you delete the feed?

Comment 10

12 years ago
Justin - I agree that it should be the default option, right now there is no option and purge does not exist.

Comment 11

12 years ago
Yes but making it an option is silly. Just do it when you delete the folder.

Comment 12

12 years ago
I threw the idea of an option in because obviously someone thinks that the current way of doing things is the correct way, otherwise it wouldn't have been programmed that way.
QA Contact: rss

Comment 13

11 years ago
Confirmed on TB (20070728). After re-adding a feed lists only one item. I re-add some feeds two times to see the bug. Deleting "feeditems.rdf" suggested in the comment https://bugzilla.mozilla.org/show_bug.cgi?id=254230#c1 works well.


10 years ago
Assignee: mscott → nobody


9 years ago
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core


7 years ago
Duplicate of this bug: 403625


7 years ago
Duplicate of this bug: 613686


7 years ago
Whiteboard: [duptome]


7 years ago
OS: Windows XP → All
Hardware: x86 → All


7 years ago
Duplicate of this bug: 309449


7 years ago
Duplicate of this bug: 518647

Comment 18

6 years ago
this is fixed in Tb12 by Bug 705504.  unsubscribing a feed or deleting a feed folder (moving it to trash) removes all items from feeditems.rdf so that a new subscribe will redownload current items.
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.