Bug 1305122

Summary: [QE](6.2.z)Contributors persp.: graphs freeze, exception in JS, possible infinite loop detected
Product: [Retired] JBoss BRMS Platform 6 Reporter: Alessandro Lazarotti <alazarot>
Component: Business CentralAssignee: David Gutierrez <dgutierr>
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: high    
Version: 6.2.0CC: dgutierr, kverlaen, lpetrovi
Target Milestone: CR1Keywords: Regression
Target Release: 6.2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1304724 Environment:
Last Closed: 2020-03-27 20:02:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1304724    
Bug Blocks: 1309326, 1309327    

Description Alessandro Lazarotti 2016-02-05 17:55:01 UTC
+++ This bug was initially created as a clone of Bug #1304724 +++

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):
6.2.1 CR2


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.


Actual results:
Graph is frozen.


Expected results:
Graph continues working.


Additional info:
This is working fine in 6.2.1 CR1.

--- Additional comment from JBoss Product and Program Management on 2016-02-04 08:20:19 EST ---

Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 2 David Gutierrez 2016-02-25 12:03:12 UTC
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:

https://issues.jboss.org/browse/DASHBUILDE-95

A fix has been already provided as well.

Comment 3 Jan Hrcek 2016-03-07 11:39:25 UTC
Ok now it works fine. Checked with BPM Suite 6.2.2 patch