Bug 1179057

Summary: Some of UserTask attributs require an input validation for checking max length
Product: [Retired] JBoss BPMS Platform 6 Reporter: Hisao Furuichi <hfuruich>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.3CC: ksuzumur
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 20:02:41 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hisao Furuichi 2015-01-06 04:48:47 UTC
Description of problem:
Following 4 attributes for UserTask have a max length limitation by database because of the data type, varchar2(255 char).

・Description -> Attributes -> Name
・User Task -> Attributes -> Task Name
・User Task -> Attributes -> Comment
・User Task -> Attributes -> Group Id

Currently, there is no validation to check the String length, so user will get an Exception at runtime using the business process definition.

Expectation:
Please add an input validation to check the String length.

Comment 1 Robert (Bob) Brodt 2015-01-12 16:56:55 UTC
Isn't this a database configuration issue? What happens if/when the underlying database implementation is changed? Does the jbpm plugin need to be changed again?

Comment 3 Robert (Bob) Brodt 2015-01-26 20:37:01 UTC
Added a User Preference that allows the user to set a limit on the length of text fields. This defaults to 255.

Fixed with Luna build 1.1.1.201501262023

Comment 4 Jozef Marko 2015-02-04 12:35:15 UTC
User Preference added to Window->Preferences->BPMN2->Editor->Behavior

Verified on   BPMN2 Modeler 1.1.1.201501282123

Comment 5 Jozef Marko 2015-02-13 09:36:38 UTC
Not included in jbds-8.0.2.GA_jbdsis-8.0.0.CR2

Comment 7 Jozef Marko 2015-04-02 10:08:56 UTC
Verified on jbds-8.1.0.CR1_jbdsis-8.0.1.CR1 - BPMN2 Modeler 1.1.2.Final