Closed
Bug 787791
Opened 12 years ago
Closed 11 years ago
[Events] When in 'current and future' mode the same events get loaded twice as user scrolls down
Categories
(Mozilla Reps Graveyard :: reps.mozilla.org, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: williamq, Assigned: giorgos)
References
Details
(Whiteboard: [kb=1330321] )
Attachments
(2 files)
When scrolling down events and reaching the bottom, new events are added but they are no longer in chronological order (see attachment).
Assignee | ||
Comment 1•12 years ago
|
||
True, I 'll work on a patch asap and push to prod.
Assignee: nobody → giorgos
Status: NEW → ASSIGNED
Assignee | ||
Updated•12 years ago
|
Group: mozilla-reps-admins
Assignee | ||
Updated•12 years ago
|
Summary: Events not in chronological order when more events are added after scrolling down → [Events] When in 'current and future' mode the same events get loaded twice as user scrolls down
Comment 2•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/remo
https://github.com/mozilla/remo/commit/78ef9759e2c2a4f617755e33e01e655694fa7636
[fix bug 787791] Do not load events twice.
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 4•11 years ago
|
||
Screen of events.
Comment 5•11 years ago
|
||
I still see the duplicates issue is not yet resolved.
Assignee | ||
Comment 6•11 years ago
|
||
Galaxy,
I can't reproduce that. Can you please provide a url?
Flags: needinfo?(iGalaxyK)
Comment 7•11 years ago
|
||
Flags: needinfo?(iGalaxyK)
Assignee | ||
Updated•11 years ago
|
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 8•11 years ago
|
||
Hi Giorgos,
I was just trying to search reps from India in list view and I see the same list is being populated thrice as I scroll down the page.
https://reps.mozilla.org/people/#/view/list/search/india/
Assignee | ||
Comment 9•11 years ago
|
||
I'm looking at this right now.
Assignee | ||
Updated•11 years ago
|
Whiteboard: [kb=1330321]
Assignee | ||
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Version: 0.3.5 - Amanda → unspecified
Comment 10•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/remo
https://github.com/mozilla/remo/commit/d06d16ef5d84583bf673dfca5851b199747435e6
[fix bug 787791] Stop making API calls when full list gets loaded.
Tastypie upgrade (8757ea5) changed the API behavior when it comes to
'limit' meta data returned to API call. It's now limited to 1000, while
previously respected any limit given. We based parts of our logic on the
limit returned and that caused Events and Reps to be loaded multiple
times by consecutive API calls.
We fix that by watching the meta.next variable which always tells the
truth about the existence of more data, independently of the value of
the limit.
https://github.com/mozilla/remo/commit/aadbe6fc942ef854caed1ce20cc26b37d32d8731
Merge pull request #699 from glogiotatidis/787791
[fix bug 787791] Stop making API calls when full list gets loaded.
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Version: unspecified → next
Comment 11•10 years ago
|
||
Tested it locally and it worked. On stage we don't have sufficient entries to verify that.
Using a breakpoint, it seems that the if condition changed works as expected.
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•10 years ago
|
Version: next → 429
Updated•4 years ago
|
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•