Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1321332

Summary: BPMN2 Modeler: unable to input more than 255 characters in text area
Product: [Retired] JBoss BPMS Platform 6 Reporter: Hiroko Miura <hmiura>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:13:35 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 Hiroko Miura 2016-03-25 15:12:25 UTC
Description of problem:
In Diagram Editor, 
unable to input more than 255 characters in text area, such as script field of Script Task and  condition field of sequence flow,

This happens with JBDS installed on Windows.
This does not happen with JBDS installed on Linux.

Version-Release number of selected component (if applicable):
JBDS 8.0.1 / BPMN2 Modeler - Diagram Editor 1.1.4.201510212019	
JBDS 9.0.0 / BPMN2 Modeler - Diagram Editor 1.2.1.201509111741(Early Access)	


How reproducible:

use JBDS8/JBDS9 with the latest integration stack on Windows 
(confirmed on Windows7/8)


Steps to Reproduce:
1. create script task and input more than 255 characters in script field
2.
3.

Actual results:

unable to input more than 255 characters

Expected results:

able to input more than 255 characters


Additional info:

The following limitation was introduced for test field.
https://www.eclipse.org/bpmn2-modeler/whatsnew/whatsnew-1.1.2.php
---
 A new User Preference has been added to the Editor Behavior preference page, which allows Text fields to be limited to a maximum length. The default is 255 characters. Note that Multiline text boxes, such as those used for Documentation and Scripts, are not subject to this limit. 
---

But this seems to  be applied for test area unexpectedly only on Windows.

Therefore, workaround is to set 'Maximum text field length' to 0 via
menu Window -> Preferences -> BPMN2 -> Editor -> Behavior