Bug 1243597 - Designer does not allow line breaks in many component
Summary: Designer does not allow line breaks in many component
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: DR1
: 6.3.0
Assignee: Tihomir Surdilovic
QA Contact: Kirill Gaevskii
URL:
Whiteboard:
Depends On:
Blocks: 1243598
TreeView+ depends on / blocked
 
Reported: 2015-07-15 21:20 UTC by Alessandro Lazarotti
Modified: 2020-03-27 19:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 1243598 (view as bug list)
Environment:
Last Closed: 2020-03-27 19:10:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
StartEvent and EndEvent CDATA duplication (1.84 MB, application/octet-stream)
2015-10-21 08:46 UTC, Kirill Gaevskii
no flags Details
Boundary Events names example (3.96 MB, application/ogg)
2015-12-18 08:46 UTC, Kirill Gaevskii
no flags Details

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 ]


Note You need to log in before you can comment on or make changes to this bug.