Bug 1081185 - KPI in edit mode shows outdated data
Summary: KPI in edit mode shows outdated data
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: BAM
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER1
: 6.0.2
Assignee: David Gutierrez
QA Contact: Jan Hrcek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-26 17:28 UTC by Pedro Zapata
Modified: 2014-08-06 19:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:50:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pedro Zapata 2014-03-26 17:28:32 UTC
1. Create a provider to an empty DB.
2. Create KPI to that DB.
3. Fill DB while the application is running.
4. Edit KPI again. You'll see the KPI still shows a message indicating there's no data. 

Note that if previous data existed in the DB this would be hardly noticeable, since usually data is not relevant for KPI composition. In view mode everything works as expected.

The underlying reason is the edit KPI is using the global dataset manager instead of the per-session one.

The fix is to initialize properly the thread local settings in the edit kpi jsps.

Comment 3 Jan Hrcek 2014-05-02 10:32:18 UTC
Ok, verified with BPMS 6.0.2.ER2


Note You need to log in before you can comment on or make changes to this bug.