| Summary: | Freemarker Template generator in web designer creates invalid forms | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Babak Mozaffari <bmozaffa> | ||||||||
| Component: | jBPM 5 | Assignee: | Kris Verlaenen <kverlaen> | ||||||||
| Status: | VERIFIED --- | QA Contact: | Jiri Locker <jlocker> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | BRMS 5.3.0.GA | CC: | lpetrovi, rsynek, rzhang | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | BRMS 5.3.0.GA | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | Type: | --- | |||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
Babak Mozaffari
2011-12-16 20:18:06 UTC
Created attachment 547950 [details]
Guvnor repository to show fixed version as well as files
Created attachment 547951 [details]
Incorrect auto-generated task form
Created attachment 547952 [details]
Fixed task form
I need more info on how to reproduce, specifically for step 1. Create a process with a user task that has different variable names than the process variables What are the process variables and types defined, and what are the data inputs and outputs and associations defined on the user task? Thanks. assigning to bmozaffa to provide more info. Hey Tiho, here is what I'm testing with:
1- Process variable definition: "processVar:String"
2- User Task: "taskVar" for both DataInputSet and DataOutputSet
3- User Task: "processVar<->taskVar" added under Assignments (task name would end up as an association there too so comma separating this one)
At this point, generating task form templates results in the following line, which produces a runtime error:
<label for="name">taskVar</label>
<div class="div_checkbox">${processVar}</div>
Since this is used for the task, it should be ${taskVar} and not processVar which is unavailable at this stage. The mapping should have (and has) already taken place.
Resolved and will be available in 2.1 (https://issues.jboss.org/browse/JBPM-3475) 5.3 ER2 still contains designer 2.0. So this fix probably is not included in ER2. |