Red Hat Bugzilla – Bug 1304724
Contributors persp.: graphs freeze, exception in JS, possible infinite loop detected
Last modified: 2016-07-31 21:20:21 EDT
Created attachment 1121099 [details]
Description of problem:
When in Contributors perspective, user can filter data, select different org. units, years, quarters or days by clicking on respective elements inside the interactive graphs. In specific cases (I suspect the presence of repositories without any real commits), the graphs freeze and stop reacting to further user action.
The JS console shows uncaught IllegalArgumentException and later even a warning about a possible infinite loop.
See captured screencast for more information.
Note: only the graphs freeze, not the whole workbench. To reset this, user simply has to switch perspectives, or refresh the page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create two org. units - ou1 and ou2.
2. Create two repos in ou1 - ou1r1 and ou1r2 - and one repo in ou2 - ou2r1.
3. Switch to Contributors perspective.
4. Click the same org. unit/circle in the first graph twice.
5. Try clicking on the other org. unit/circle.
Graph is frozen.
Graph continues working.
This is working fine in 6.2.1 CR1.
To reproduce the issue is not even needed to create any empty org. unit or repo. Just by selecting entries on the author dropdown for instance, produces the same result.
The issue has been reported in the Dashbuilder's JIRA:
A fix has been already provided as well.