Bug 907646
| Summary: | jBPM Designer renders arrows incorrectly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Phil Simpson <psimpson> | ||||
| Component: | BRM (Guvnor) | Assignee: | manstis | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | BRMS 5.3.1 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-02-10 03:27:24 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: | |||||||
| Attachments: |
|
||||||
Reassign to the guvnor team, now that I am working full time on planner. So these issues aren't forgotten. Reassigned to Tiho who looks after jBPM Designer. This can possibly happen after version upgrade. You can locate in your Guvnor repository in the Globals section an asset called "themes" (themes.json), open it, archive it and then in the archive remote it completely from your repository. Then re-open and existing or create a new process. This should solve the issue. in previous comment "remote it" should have been "remove it" :) Removing that asset works! This occurs in new installations, not just upgrades. The themes.json file has to be removed after every install, or the arrows will render incorrectly. Can we just remove this from the distribution altogether? We have the same problem when jBPM is used independently of Guvnor, in which case there's no repository to remove the file from! See e.g. http://designer-inthe.rhcloud.com/designer/editor?profile=jbpm&uuid=123 Color theme support is IMO a very important part of modeling. Users can define custom colors for different nodes which make sense to their situation. Designer could use an internal (default) color theme if Guvnor is not available, but Designer (in drools/jbpm 5.x) is not really meant to be used without Guvnor (maybe for demos only). This is not an issue in drools/jbpm 6.x. Let me know what to do really here. Hi Tiho - Agree on the importance of theme support. However is it possible to fix the default behavior of drawing arrows without lines, at least until we can demo v6? Is the only solution to delete themes.json, or is it a problem with the content of themes.json? Also can anything be done to enable our demo Designer on OpenShift to draw arrows correctly? Thanks. The issue is that you are demoing use of jBPM Designer version which is dependent on Guvnor 5.x for storing/retrieving assets without Guvnor itself available. This is an usecase which we don't support. If you need something for a demo then we can as mentioned have Designer use self-provided color themes definition if it cannot find Guvnor available. Other issues however may arise here..for example if you want to demo Called Elements support you will not be able to resolve other processes available because Guvnor is not available, same thing with saving process dictionary, saving process forms, etc. Typically when we used OpenShift for versions < 6.x we would have Guvnor running on Openshift, and have the Designer instance reference it in its /profiles/jbpm.xml. Would that be possible for you to set up? It would really eliminate these types of issues for you I think. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |
Created attachment 693013 [details] jBPM Diagram with arrowheads only Description of problem: When creating a new BPMN2 diagram, the arrows between activities are rendered incorrectly - just the arrowheads are drawn. See attached screenshot. Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Add new activities to a BPMN2 diagram. Each one has an incorrectly drawn arrow. 2. 3. Actual results: Arrowhead only is drawn Expected results: Arrows drawn correctly. Additional info: