Closed
Bug 1183062
Opened 10 years ago
Closed 9 years ago
Clicking "load more" button shows duplicate reviews
Categories
(Marketplace Graveyard :: Consumer Pages, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
2015-07-14
People
(Reporter: vvalentina, Unassigned)
References
()
Details
(Whiteboard: [see comment 1][marketplace-transition])
Steps to reproduce:
1. Load MP-stage homepage https://marketplace.allizom.org/
2. Go to any app details page and submit a review (an app with few reviews is more appropriate to see the issue)
3. Go to Reviews page and refresh
Expected results:
There are no display or layout issues. All reviews are there.
Actual results:
The first review is erased.
Notes/Issues:
Verified on FF42(Win 7). Issue is only reproducing on MP-stage.
Screencast for this issue: http://screencast.com/t/oOOucJJQD
Comment 1•10 years ago
|
||
We don't make a request between adding a review and listing the reviews. So we just prepend our list of reviews with the one that was just added. This means we end up with 25 reviews being listed instead of the initial 24. When the page is refreshed we only show 24 results so the last one on the page is now gone.
Another bug that happens is if instead of reloading the page you hit "load more" then you get the last review duplicated since we just pushed off the bottom of the first page to the top of the second page.
You can also get duplicate reviews if someone else adds a review between the time you loaded the initial set of reviews and when you click "load more". You could get multiple duplicate reviews if multiple new reviews are added.
We should probably do a rewrite with clojure/clojurescript and datomic to avoid this in the future.
Updated•10 years ago
|
Priority: -- → P3
Updated•10 years ago
|
Summary: Refreshing the Reviews page after a review is submitted erases the first review of that app → Clicking "load more" button shows duplicate reviews
Whiteboard: [see comment 1]
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Whiteboard: [see comment 1] → [see comment 1][marketplace-transition]
You need to log in
before you can comment on or make changes to this bug.
Description
•