Bug 1243597

Summary: Designer does not allow line breaks in many component
Product: [Retired] JBoss BPMS Platform 6 Reporter: Alessandro Lazarotti <alazarot>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Kirill Gaevskii <kgaevski>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.1.0CC: kgaevski, kverlaen
Target Milestone: DR1   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1243598 (view as bug list) Environment:
Last Closed: 2020-03-27 19:10:13 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: 1243598    
Attachments:
Description Flags
StartEvent and EndEvent CDATA duplication
none
Boundary Events names example none

Description Alessandro Lazarotti 2015-07-15 21:20:12 UTC
User is not able to use line breaks in most bpmn2 components in Designer, that affects the readability of processes.

The follow components does not support line breaks:
- Events
- Gateways
- Swimlanes

Customer expectation is that all components support line breaks in text fields. 

Version-Release number of selected component (if applicable):
6.1.1

Comment 2 Tihomir Surdilovic 2015-08-17 14:33:37 UTC
master: https://github.com/droolsjbpm/jbpm-designer/commit/085a65545
6.3.x: https://github.com/droolsjbpm/jbpm-designer/commit/0a70129da

This is possible now for following elements: 

Gateways
Lanes
Subprocesses
Events
Data Objects
Data Stores
Text Annotations
callActivities

Comment 3 Kirill Gaevskii 2015-10-21 08:45:46 UTC
Hi, works good, but StartEvents and EndEvents have CDATA for name property twice. (See attachment). I guess, the duplications in a code may cause this problem. It will be nice to make some little refactoring.

Comment 4 Kirill Gaevskii 2015-10-21 08:46:41 UTC
Created attachment 1085053 [details]
StartEvent and EndEvent CDATA duplication

Comment 5 Tihomir Surdilovic 2015-10-26 15:26:25 UTC
duplicate extension elements on start/ end nodes (which btw does not affect execution in any shape or form - just cosmetic) - master: https://github.com/droolsjbpm/jbpm-designer/commit/9e519295eb24545c7a70a059f54c156353cd47fe

Comment 6 Kirill Gaevskii 2015-12-17 12:34:00 UTC
Update: Designer still does not allow line breaks in Boundary Events. (6.2.GA oneoff1)

Comment 7 Tihomir Surdilovic 2015-12-17 15:29:25 UTC
I am unable to reproduce this ( see http://imgur.com/7cYU2Mr). Can you let me know how?

Comment 8 Kirill Gaevskii 2015-12-18 08:45:24 UTC
1. Add Intermediate Event (For example Message)
2. Set name with new line
3. Attach it
4. Save
5. Reopen

See attachment.

Comment 9 Kirill Gaevskii 2015-12-18 08:46:15 UTC
Created attachment 1107049 [details]
Boundary Events names example

Comment 10 Tihomir Surdilovic 2015-12-18 14:59:28 UTC
Nice catch! There is a method that converts the event to boundary and there the multi-line name was not copied over correctly.

master PR https://github.com/droolsjbpm/jbpm-designer/pull/111

Comment 12 Kirill Gaevskii 2016-02-09 10:46:41 UTC
Works good with 6.3.0 DR1. [But just want to mention the related issue: https://bugzilla.redhat.com/show_bug.cgi?id=1258980 ]