Bug 973049

Summary: BRMS contains the same Designer as BPMS
Product: [Retired] JBoss BRMS Platform 6 Reporter: Sona Mala <smala>
Component: Business CentralAssignee: Julian Coleman <jcoleman>
Status: CLOSED CURRENTRELEASE QA Contact: Sona Mala <smala>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jcoleman, kverlaen, lpetrovi, paradhya, rzhang
Target Milestone: ER4Keywords: TestBlocker
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:19:29 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:

Description Sona Mala 2013-06-11 07:21:47 UTC
Description of problem:
If you open BPMN2 asset in BRMS and in BPMS, BRMS contains the same designer as BPMS instead of a lighter version of the designer.


Version-Release number of selected component (if applicable):
6.0.0 DR5 (Beta3)


Actual results:
Same profiles in BRMS / BPMS designer's shape ropository. In both products: Full profile is able to switch to Minimal profile (there is alert: "Unable to create extension definition"), but Minimal profile is not able to switch to Full profile. Full profile and Minimal profile contains the same sets of BPMN2 components.

Expected results:
Different default profiles in BRMS / BPMS designer. BRMS default profile is not able to switch to BPMS default profile. BRMS default profile contains a subset of BPMS components.


Additional info:
I am not sure if current Full profile corresponds with BPMS default profile and current Minimal profile corresponds with BRMS default profile.

Comment 1 Ryan Zhang 2013-06-14 07:06:42 UTC
Kris, could this be resolved in kie-wb-distribution?

Comment 2 Kris Verlaenen 2013-09-16 17:45:24 UTC
Tiho, could you at least make sure the RuleFlow profile works as expected?  I consider this part a beta blocker.

I consider making sure that the RuleFlow profile is enabled by default for BRMS a blocker (but not a beta blocker).

Should we also prevent people from being able to switch the profile to minimal / full in case of BRMS?  In the past, we've always given users the possibility to do so, but detailed that only the RuleFlow profile would be supported for BRMS.

Comment 3 Prakash Aradhya 2013-09-17 01:37:04 UTC
Yes, this is must fix for Beta

Comment 4 Tihomir Surdilovic 2013-09-18 16:14:35 UTC
Fixed in designer master and 6.0.x branches.
You can control what perspective is shown with system properties now, for example:

./standalone.sh -Dorg.jbpm.designer.perspective=simple

where values can be 
simple
ruleflow
full

note that if an user has already a designer perspective cookie which contains the value of the last user perspective, that cookie value will overwrite any default settings, so a cookie clear might be needed when you test.

Comment 5 Lukáš Petrovický 2013-09-18 20:24:59 UTC
Ryan, would you please make sure that BRMS configures this property to "ruleflow" and BPMS configures "full"?

Please keep in mind that we need this config to take place in both standalone and domain configs of EAP.

Comment 6 Ryan Zhang 2013-09-19 08:53:37 UTC
Ok, Thanks Lukas for informing. 
I will add the properties "org.jbpm.designer.perspective=simple" to the EAP configuration file instead of change the standalone.sh or standalone.sh commandline.

Comment 7 Ryan Zhang 2013-09-19 16:51:09 UTC
Fixed.
Now BRMS goes to "ruleflow"
BPMS goes to "full". 
Both standalone and domain config files are all updates.

Comment 11 Sona Mala 2013-10-15 12:04:34 UTC
Verified for ER4.

As Tiho says in #4: Designer's perspective depends on a value of "designerperspective" cookie. This value is valid for all users which use same browser. Designer set this cookie when an user switch the perspective in Designer.

If the cookie is not set (or is deleted) then designer uses system property "org.jbpm.designer.perspective=ruleflow" for BRMS and "org.jbpm.designer.perspective=full" for BPMS and Designer shows right perspective.