Errors (with visible stacktraces) in screen: Order -> Order List -> Select (a
sales order) -> Add items
--------------------------------------------------------------------------------------------------------
Key: OFBIZ-3701
URL: https://issues.apache.org/jira/browse/OFBIZ-3701
Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: SVN trunk
Reporter: Blas Rodriguez Somoza
Priority: Minor
Fix For: SVN trunk
Two errors in addItems from a sales order with visible stacktraces
Error 1 - Expression orderItemStatus.statusDatetime is undefined on line 133,
column 37 in component://order/webapp/ordermgr/order/editorderitems.ftl
editorderitems.ftl lines:
132 <#assign loopStatusItem =
orderItemStatus.getRelatedOne("StatusItem")>
133
${orderItemStatus.statusDatetime.toString()} ${loopStatusItem.get("description",locale)?default(orderItemStatus.statusId)}<br
/>
134 </#list>
The same editorderitems.ftl seems to work OK for purchase order.
Error 2 - Expression catalogCol is undefined on line 37, column 18 in
component://order/webapp/ordermgr/order/appendorderitem.ftl.
appendorderitem.ftl lines:
37 <#if catalogCol?size == 1>
38 <input type="hidden" name="prodCatalogId"
value="${catalogCol.first}"/>
39 </#if>
The same appendorderitem.ftl seem to work OK for purchase orders.
Probably related with the catalog issue, in Order Entry -> Sales order
continue, the choose catalog select field has no option values.
Please, commit OFBIZ-3685 before working on this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira