Closed Bug 1149869 Opened 10 years ago Closed 10 years ago

Repeatedly adding and removing an item from reader mode causes duplicate items to appear in the sidebar

Categories

(Firefox Graveyard :: Reading List, defect)

defect
Not set
normal

Tracking

(firefox38 verified, firefox39 fixed, firefox40 verified)

VERIFIED FIXED
Firefox 40
Tracking Status
firefox38 --- verified
firefox39 --- fixed
firefox40 --- verified

People

(Reporter: markh, Assigned: markh)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR: * With or without syncing enabled, open a page in reader mode and repeatedly click the "+-" button. Actual: * Duplicate items stack up in the sidebar, which is fixed on restart. Expected: * No dupes. The problem is that the sidebar only removes the node from its map on the transitionend event. If the item is re-added before this event fires it gets confused. The fix is to remove the item from the map directly in onItemDeleted.
Attachment #8586534 - Flags: review?(bmcbride)
Attachment #8586534 - Flags: review?(bmcbride) → review+
Assignee: nobody → mhammond
Blocks: 1132074
Status: NEW → ASSIGNED
Iteration: --- → 40.1 - 13 Apr
Flags: qe-verify?
Flags: firefox-backlog+
https://hg.mozilla.org/integration/fx-team/rev/3eb16083368b The problem was introduced in bug 1147444, so blocking that - if that gets uplifted this needs to as well. (FTR, I accidentally pushed an empty commit as https://hg.mozilla.org/releases/mozilla-aurora/rev/69327970ef09 which TomCat said he'd back out for me - needinfo him to make sure that isn't forgotten)
Flags: qe-verify? → qe-verify+
QA Contact: andrei.vaida
(In reply to Mark Hammond [:markh] from comment #1) > https://hg.mozilla.org/integration/fx-team/rev/3eb16083368b > > The problem was introduced in bug 1147444, so blocking that - if that gets > uplifted this needs to as well. > > (FTR, I accidentally pushed an empty commit as > https://hg.mozilla.org/releases/mozilla-aurora/rev/69327970ef09 which TomCat > said he'd back out for me - needinfo him to make sure that isn't forgotten) Hey Ryan, qbackout fails here (abort: stdin: no diffs found) so do we need to do anything here ?
Flags: needinfo?(ryanvm)
Nothing to back out of the diff is empty. What's done is done at this point.
Flags: needinfo?(ryanvm)
Flags: needinfo?(cbook)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Verified fixed on Nightly 40.0a1 (2015-04-02), using Windows 7 (x64), Ubuntu 14.04 (x64) and Mac OS X 10.9.5.
Status: RESOLVED → VERIFIED
See Also: → 1152192
(In reply to Mark Hammond [:markh] from comment #1) > The problem was introduced in bug 1147444, so blocking that - if that gets > uplifted this needs to as well. Fat log of good that did me - that bug got uplifted :(
Comment on attachment 8586534 [details] [diff] [review] 0010-Bug-XXXXXXX-prevent-duplicate-readinglist-items-from.patch Approval Request Comment [Feature/regressing bug #]: readinglist [User impact if declined]: Items may be added multiple times [Describe test coverage new/current, TreeHerder]: Already landed on central [Risks and why]: None [String/UUID change made/needed]: None
Attachment #8586534 - Flags: approval-mozilla-beta?
Attachment #8586534 - Flags: approval-mozilla-aurora?
Comment on attachment 8586534 [details] [diff] [review] 0010-Bug-XXXXXXX-prevent-duplicate-readinglist-items-from.patch Should be in 38 beta 3
Attachment #8586534 - Flags: approval-mozilla-beta?
Attachment #8586534 - Flags: approval-mozilla-beta+
Attachment #8586534 - Flags: approval-mozilla-aurora?
Attachment #8586534 - Flags: approval-mozilla-aurora+
Verified fixed on 38.0b3-build1 (20150409144858) as well, using Ubuntu 14.04 (x64), Windows 8.1 (x64) and Mac OS X 10.9.5.
Removing qe-verify flag as it was verified on Firefox 38 Beta and Firefox 40 Nightly.
Flags: qe-verify+
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: