[#12906] - Parameters which evaluate other parameters are doing so too early in preview

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Using the following code an error occurs when running the preview pane.

Error evaluating expression for source text: DATEFORMAT($P{fromDate}, "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")

<parameter name="fromDate" class="java.util.Date">
<defaultValueExpression><![CDATA[new Date(0)]]></defaultValueExpression>
</parameter>
<parameter name="formattedFromDate" class="java.lang.String" isForPrompting="false" evaluationTime="Late">
<defaultValueExpression><![CDATA[DATEFORMAT($P{fromDate}, "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")]]></defaultValueExpression>
</parameter>

Problem does not occur in 6.12.2

v 6.13.0
Jaspersoft Studio
ian.rodgers's picture
Joined: Jul 9 2020 - 4:03am
Last seen: 3 weeks 4 days ago
Feedback
randomness