Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1315981

Summary: Process preview in process instances not loaded when opened for 2nd time
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2.0CC: jomarko, kverlaen, rrajasek, rsynek, wsiqueir
Target Milestone: CR2Keywords: Regression
Target Release: 6.2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:12:44 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:    
Bug Blocks: 1309326    
Attachments:
Description Flags
Video showing the steps to reproduce the issue
none
Video showing the steps to reproduce the issue none

Description Jan Hrcek 2016-03-09 07:54:54 UTC
Description of problem:
When user opens process preview diagram in Process Instances perspective (click row for some proc instance > In details panel select Options > Process model), the process model is only loaded for the first time.
The issue is that after this the preview is not loaded anymore and more importantly it's not longer possible to open designer in Authoring Perspective. See video illustrating the issue with 6.2.2 patch.

This bug was recently reported for 6.4.x community branch (see jira https://issues.jboss.org/browse/JBPM-4944) and now it also happens for 6.2.x patch.

The bug happens both in firefox and in chrome.

Version-Release number of selected component (if applicable):
BPM Suite 6.2.2 patch

How reproducible:
Always

Steps to Reproduce:
1. Create some process model, build & deploy the project, start an instance of the process in Process Definitions perspective.
2. Go to process instances perspective, click the row for running instance
3. In Details panel select Options > Process Model
4. Modal dialog with process preview is displayed. Close the modal.
5. Repeat step 3 for the 2nd time

Actual results:
The process preview is not loaded. After that when I navigate to Authoring perpsective no other process can be opened in designer.

Expected results:
It should be possbible to open process preview modal and see the process multiple times (e.g. when checking state of more than 1 process)

Comment 1 Jan Hrcek 2016-03-09 07:56:37 UTC
Created attachment 1134411 [details]
Video showing the steps to reproduce the issue

Comment 4 Jan Hrcek 2016-03-11 06:38:30 UTC
Please don't forget to include the the fix in 6.3.x branch (from which the 6.2.2 patch will be build if I'm not mistaken).

Comment 7 Tihomir Surdilovic 2016-03-15 16:47:04 UTC
*** Bug 1317671 has been marked as a duplicate of this bug. ***

Comment 8 Kris Verlaenen 2016-03-16 16:04:35 UTC
*** Bug 1315374 has been marked as a duplicate of this bug. ***

Comment 9 Jan Hrcek 2016-03-21 10:57:07 UTC
Ok, problem has been fixed. Verified with BPM Suite 6.2.2 CR2 patch