Bug 1128383

Summary: FTL forms can't parse Expressions
Product: [Retired] JBoss BPMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: Form ModelerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Andy Taylor <ataylor>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.2CC: kverlaen
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:37:09 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:
Description Flags
[0] full stack trace none

Description Anton Giertli 2014-08-09 21:14:07 UTC
Description of problem:
If you use some expression in the human task, for example, you specify actor as #{actor} and not via "actor" then the FTL form used for this human task will be causing issues.

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

How reproducible:
always

Steps to Reproduce:
1. Create process definition , start->human task->end
2. create process variable dynamicActor:string
3. configure Human Task actor with value #{dynamicActor}
4. generate all forms
5. delete all forms created by Form Modeler, only leave FTL forms.
6. execute the process, fill in the process variable, start working on a task (by pressing Work button), following exception will be displayed in the log

23:12:10,070 ERROR [freemarker.runtime] (http-localhost/127.0.0.1:8080-6) Template processing error: "Expression EXPRESSIONVALUE is undefined on line 216, column 45 in sample human task.": freemarker.core.InvalidReferenceException: Expression EXPRESSIONVALUE is undefined on line 216, column 45 in sample human task.

Actual results:
FTL form can't work with expressions

Expected results:
FTL form can work with expressions

Additional info:

Comment 1 Anton Giertli 2014-08-09 21:15:27 UTC
Created attachment 925408 [details]
[0] full stack trace