Bug 1075955

Summary: Designer displays just empty page on EWS
Product: [Retired] JBoss BPMS Platform 6 Reporter: Sona Mala <smala>
Component: jBPM DesignerAssignee: Marco Rietveld <mrietvel>
Status: CLOSED CURRENTRELEASE QA Contact: Sona Mala <smala>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.1CC: etirelli, kverlaen, mbiarnes, rrajasek, smcgowan, tsurdilo
Target Milestone: CR2Keywords: Regression, TestBlocker
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
BPMS, EWS
Last Closed: 2014-08-06 20:03:46 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: 1072885    

Description Sona Mala 2014-03-13 09:27:36 UTC
Description of problem:
Designer in BPMS displays just empty page on EWS. Readonly mode in Process Instance View do it as well.

I can not find Error message which should be related with this issue in server logs.

Note: Designer in BRMS works fine on EWS.


Version-Release number of selected component (if applicable):
6.0.1 ER2 BPMS 

How reproducible:
BPMS ER2 + EWS


Steps to Reproduce part #1:
1. Create new process

Actual results:
Instead of Designer there is just a grey area. HTML tag "body" contains just script but not others elements which should be a toolbar, property bar, etc.

Process definition is created in repository.


Expected results:
Show designer without any problem.


Steps to Reproduce part #2:
1. Run process definition
2. Show Instance view (Read only mode of designer)

Actual results:
Same result as has been mentioned in part #1

Expected results:
Show designer in read-only mode and mark nodes which were executed.


Additional info:

Comment 1 Sona Mala 2014-03-13 13:05:50 UTC
By the way, if a new bpmn2 asset is created then:
   1] the process is saved to git repository (just Start node)
   2] Designer starts

This approach breaks our tests now, because such process is not valid and build of project fails.

Comment 2 Tihomir Surdilovic 2014-03-13 16:08:17 UTC
fix in master and 6.0.x branches:

(master) https://github.com/droolsjbpm/jbpm-designer/commit/470998596
(6.0.x)  https://github.com/droolsjbpm/jbpm-designer/commit/ea120001a

Comment 3 Tihomir Surdilovic 2014-03-13 16:09:38 UTC
also just in case, make sure you give tomcat enough memory via catalina_opts so you don't run into permgen issues.

Comment 4 Tihomir Surdilovic 2014-03-14 17:16:36 UTC
On kie-wb this commit causes the problem for Designer - https://github.com/droolsjbpm/kie-wb-distributions/commit/99b7541c15918c4b94268c1b2bc847d5ff604644

I don't know the reasons this was added, but if we could revert the changes that would make Designer work again. I will reassign the BZ to Marco who added this change to see what can be done.

Comment 5 Michael 2014-03-17 12:18:21 UTC
Ticket cherry-picked into 6.0.1.CR1. 
Commit: 8aedcdfa4744e7d140e59535055739ed33021344

Comment 7 Tihomir Surdilovic 2014-03-21 15:31:20 UTC
Reverted the commit causing this issue in kie-wb distributions:

master: https://github.com/droolsjbpm/kie-wb-distributions/commit/1d7e038f5b494427db5e1fd498a15150e4f79828  ( 1d7e038f5b494427db5e1fd498a15150e4f79828 )

6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/540ce2cb041d2762db6d918a66a01f733471d175   (  540ce2cb041d2762db6d918a66a01f733471d175  )

Comment 8 Michael 2014-03-24 10:19:16 UTC
Ticket cherry-picked into 6.0.1.CR2. 
Commit: 3458b44fde4540b36e1a4a9a05d7a3740f4b514c

Comment 9 Sona Mala 2014-04-01 15:37:20 UTC
Verify for CR2. Tests of Designer mostly passed on EWS.