Closed Bug 388716 Opened 17 years ago Closed 16 years ago

Subscribing to same RSS feed will return NULL entries

Categories

(Firefox :: Bookmarks & History, defect, P4)

defect

Tracking

()

VERIFIED FIXED
Firefox 3 beta4

People

(Reporter: tchung, Assigned: mak)

References

()

Details

(Keywords: regression, Whiteboard: [patch in Bug 419832])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007071812 Minefield/3.0a7pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/2007071812 Minefield/3.0a7pre

On trunk, adding the same RSS feed to one that already exists, will return empty entries.   This doesnt repro on 2.0.0.5, as the 2nd duplicate RSS feed still returns the contents found.

Reproducible: Always

Steps to Reproduce:
1. launch trunk, new profile
2. goto site with RSS feeds.  (eg. cbs.sportsline.com)
3. Add a RSS feed to live bookmarks, to the bookmark Toolbar (eg. "NBA basketball news")
4. Click on the RSS bookmark, verify entries are returned.
5. Go back to the same website, and subscribe to the same RSS feed again
6. Verify two RSS bookmarks are now added, and clicking on them will show one with entries, and the other return (EMPTY).

Doesnt repro on bon echo builds.
Actual Results:  
2nd RSS bookmark should still return entries

Expected Results:  
2nd RSS bookmark returns null.
Flags: in-litmus+
confirmed using the steps to reproduce on fedora F7 - also works fine in
Firefox 2.0.0.5
Flags: blocking-firefox3?
Keywords: regression
Version: unspecified → Trunk
Fall under places area?
QA Contact: rss.preview → places
For more information:
Right-clicking and selecting "Reload Live Bookmark" populates the second livemark, for me.

A similar situation arises when a livemark is copied/pasted, where the second one doesn't seem to expand until forced to by the "Reload" menu item.
QA Contact: places → rss.preview
Flags: blocking-firefox3? → blocking-firefox3+
Target Milestone: --- → Firefox 3 M8
Target Milestone: Firefox 3 M8 → Firefox 3 M9
moving out bugs that don't need to block b1
Target Milestone: Firefox 3 M9 → Firefox 3 M10
Target Milestone: Firefox 3 M10 → Firefox 3 M11
Priority: -- → P4
Not going to continue to block on this.  If you disagree with this decision, please renominate with reasons why we can't ship with this in final
Flags: wanted-firefox3+
Flags: blocking-firefox3-
Flags: blocking-firefox3+
Attached patch patchSplinter Review
another swept while looking at problems with feed reload.
when updating children of a livemark we should force update children of other feeds with the same address. The same for creation, we should always update on creation.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Attachment #305001 - Flags: review?(dietrich)
Assignee: mak77 → nobody
Status: ASSIGNED → NEW
Component: RSS Discovery and Preview → Places
QA Contact: rss.preview → places
Target Milestone: Firefox 3 beta3 → Firefox 3 beta4
Assignee: nobody → mak77
Status: NEW → ASSIGNED
since it's not clear from the patch itself, the first change is inside _updateLivemarkChildren. So it's fired on timer, if you have 2 feeds for the same url there will be a step that will update 2 live bookmarks and a step that will not update anything (because anno will show that the url has been already updated).

rethinking to this... why are we setting a page annotation on the livemark url instead of an item annotation on folderId? that would be unique and would solve the problem in a cleaner way...

so possible solutions:

- mantain page annotation, in fireTimer fill an array with correctly updated item urls, before updating a livemark check if we have already updated the same url in this cycle, in that case force update (or that livemark will not be updated). Similar to actual patch, but probably cleaner.

- mantain page annotation, try to be gentle copying the results from a livemark to all other livemarks that point to the same url (will need changes to update LivemarkChildren). Would setting the same loadgroup work?

- change everything so that you mantain an internal array of livemarks and an array of unique urls livemark, when you ask results for a livemark you serve the corresponding unique. Quite big change for the actual dev cycle.

- move pageAnno to an itemAnno, so that all livemarks are reloaded based on their expiration value. Simpler change, probably the better choice if there are no reasons to have that like a pageAnno
Comment on attachment 305001 [details] [diff] [review]
patch

clearing the review request waiting for a decision.
Attachment #305001 - Flags: review?(dietrich)
i'm fixing this using itemAnno since that appear the more easy and readable solution (every livemark has an expiration and an itemId, so that appear like the correct thing to do atm), and merging this patch in Bug 419832 to simplify unbitrotting (there are other patches ready for this service)
Whiteboard: [patch in Bug 419832]
Depends on: 419832
should have been fixed by check-in of bug 419832
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified FIXED using:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008042806 Minefield/3.0pre

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008042806 Minefield/3.0pre

-and-

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9pre) Gecko/2008042806 Minefield/3.0pre
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: