Closed sduenas closed 10 years ago
For instance http://metrics.ceph.com/scm-companies.html
Hi dachary,
I can't reproduce it. What browser are you using? You can reproduce it always, including the second reload when the JSON files are in web browser cache?
Thanks!
Using firefox 25 on ubuntu saucy. The problem does not show on the same machine using chromium. You need to have the .json URLs with a timestamp suffixed to prevent caching problems. http://metrics.ceph.com/data/json/newdream-scm-dom-evolutionary.json?1389917373 etc.
I have firefox 26 ... testing it. If only fails the first time. All the next iterations, including removing all cache and closing firefox and starting it, work perfectly. I prefer to detect the problem and fix it, and not to use timestamps.
Great, with Opera browser I can reproduce the problem more easily. TIme to work in it!
I'm curious about how it was fixed ?
I am sorry dachary, the details are in VizJS-lib. Take a look to:
https://github.com/VizGrimoire/VizGrimoireJS-lib/commit/2b3091e3a5af685c3f6dae44da4013f6e48d6ce5
The problem was the ordering in dictionaries ... dictionaries have no order, so the loop over a dictionary could change the order between executions. The fix is to use an array to loop and access later the data using the dictionary.
CooL thanks for the quick fix :-)
Thank you guy for the report!!!
When reloading a page that contains a list sorted elements (FilterItemsMiniCharts widget), the order of each entry can vary. For instance, one element on the position 3 after reloading can be in position 7.
I noticed this behavior in companies and domains pages.