[
https://issues.apache.org/jira/browse/OFBIZ-6142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14357051#comment-14357051 ]
Christian Carlow commented on OFBIZ-6142:
-----------------------------------------
I think the patch is still valid. I also updated it so that it prevents Freemarker errors from appearing in the quantity and price input fields when they are set to blank. Perhaps logic should be implemented to prevent the fields from being updated to blank but as of right now its allowed which cause the errors to appear which make the screen look very messy. This patch basically cleans up the screen if either of those scenarios occur.
To reproduce just update the quantity or price of a return item to blank.
> returnItems.ftl freemarker null error when returnPrice or returnQuantity is null
> ---------------------------------------------------------------------------------
>
> Key: OFBIZ-6142
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6142> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Priority: Minor
> Attachments: OFBIZ-6142.patch
>
>
> This error message:
> FreeMarker template error: The following has evaluated to null or missing: ==> null [in template "component://order/webapp/ordermgr/return/returnItems.ftl" at line 155, column 48]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)