Red Hat Bugzilla – Bug 973049
BRMS contains the same Designer as BPMS
Last modified: 2014-08-06 16:19:29 EDT
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)
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.
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.
I am not sure if current Full profile corresponds with BPMS default profile and current Minimal profile corresponds with BRMS default profile.
Kris, could this be resolved in kie-wb-distribution?
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.
Yes, this is must fix for Beta
Fixed in designer master and 6.0.x branches.
You can control what perspective is shown with system properties now, for example:
where values can be
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.
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.
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.
Now BRMS goes to "ruleflow"
BPMS goes to "full".
Both standalone and domain config files are all updates.
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.