Order View page is throwing an exception at shipment panel.
-----------------------------------------------------------
Key: OFBIZ-2808
URL: https://issues.apache.org/jira/browse/OFBIZ-2808
Project: OFBiz
Issue Type: Bug
Components: order
Affects Versions: SVN trunk
Reporter: Sumit Pandit
Priority: Minor
Fix For: SVN trunk
Order view page throws an exception in shipment panel.
To verify this please visit at
https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091.
The issue was caused by following line -
<#assign shipmentRoutSegment =
Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("ShipmentRouteSegment",
{"shipmentId":shipment.shipmentId}))>
I would suggest to get ShipmentRouteSegment record separately and if there is
any record then get first record from it. and then check for
shipmentRoutSegment (please, also correct the name eg. - shipmentRouteSegment)
record if it has contents.
Thanks Rishi Solanki for report it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.