Duplicates in commit history after switching between pages
Created by: hdodenhof
I get a lot of duplicate entries in the commit history of my projects. This (always) happens after switching between pages without a full page reload.
In detail: If I go to the commit history [1] directly, everything's working fine, no duplicates at all. If I goto the projects home [2] first and from there to the commit history [1] using the "Commits"-Button (which causes an ajax request for the page content) I get the duplicates when scrolling down. A full page reload (F5) fixes this.
Inspecting the ajax requests being made while scrolling down I found some strange behaviour. Instead of requests with ascending limit and offset parameters for the history, the are multiple requests with the same offset and limit parameter. Sometimes even simultaneously. And sometimes with numbers which seem completely off. An example:
master?limit=20&offset=2&_=1370372758014
master?ref=master&limit=40&offset=40&_=1370372758019
master?limit=20&offset=2&_=1370372763028
master?ref=master&limit=40&offset=100&_=1370372763046
master?limit=20&offset=2&_=1370372770697
master?ref=master&limit=40&offset=160&_=1370372770703
I'm running 5.2.0 02a7b127, installed two days following installation.md for 5-2-stable step-by-step.
Thanks!
[1] /sampleproject/commits/master [2] /sampleproject