Bug 988850

Summary: DataInput mapped to constant value is not being displayed in generated Task Form
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Anton Giertli <agiertli>
Component: jBPM ConsoleAssignee: Kris Verlaenen <kverlaen>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: alazarot
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: 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
includes process definition and 2 screenshots (of faulty behavior and temporary workaround) none

Description Anton Giertli 2013-07-26 14:48:06 UTC
Created attachment 778788 [details]
includes process definition and 2 screenshots (of faulty behavior and temporary workaround)

Description of problem:
When you generate a task form, for a task that has datainput assigned to the constant value (variable is equal to "constant")
The final form includes
<label for="name">variable</label>
                            		<div class="div_checkbox">
                              		<![CDATA["constant"]]>
</div>

This is being interpreted as HTML comment, therefore constant value is not being displayed in generated task form.

How reproducible:

Steps to Reproduce:
1) Download attached process (you need to have human task with datainput assignment to constant value, i.e. datainput is equal to "constant")
2) generate task form in web designer
3) deploy process via Guvnor
4) Start process in business-central
5) Submit the form
6) proceed to assigned task for a user, and you will now see, that the datainput value is empty (constant value should be displayed) - as shown in attached screenshot snap.tff

Actual results:
when datainput has assignment to constant value, value is not displayed

Expected results:
value should be displayed

Additional info:

Comment 1 JBoss JIRA Server 2015-12-04 15:19:17 UTC
Toni Rikkola <toni> updated the status of jira GUVNOR-2028 to Closed