From bc1ea7fbf02a5dc5d5bd93dc5da03cd2cb497d3d Mon Sep 17 00:00:00 2001 From: Si Chen Date: Mon, 4 Jun 2007 23:36:33 +0000 Subject: [PATCH] Prevent NPE when order item's item issuance does not have a ship group seqid, such as from a POS order. Based on suggestion from Vikrant Rathorpe git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544324 13f79535-47bb-0310-9956-ffa450edef68 --- applications/order/webapp/ordermgr/order/orderitems.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/order/webapp/ordermgr/order/orderitems.ftl b/applications/order/webapp/ordermgr/order/orderitems.ftl index e56c454db4..92acd9e58d 100644 --- a/applications/order/webapp/ordermgr/order/orderitems.ftl +++ b/applications/order/webapp/ordermgr/order/orderitems.ftl @@ -506,7 +506,7 @@ under the License. <#assign inventoryItem = itemIssuance.getRelatedOne("InventoryItem")/> ${uiLabelMap.FacilityInventory}: ${itemIssuance.inventoryItemId} - ${uiLabelMap.OrderShipGroup}: ${itemIssuance.shipGroupSeqId} + ${uiLabelMap.OrderShipGroup}: ${itemIssuance.shipGroupSeqId?if_exists} <#if (inventoryItem.serialNumber?has_content)>
${uiLabelMap.ProductSerialNumber}: ${inventoryItem.serialNumber}