Author: sichen
Date: Fri Oct 26 18:19:34 2007
New Revision: 588864
URL:
http://svn.apache.org/viewvc?rev=588864&view=revLog:
Fix potential null exception
Modified:
ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
Modified: ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl?rev=588864&r1=588863&r2=588864&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/EditProductInventoryItems.ftl Fri Oct 26 18:19:34 2007
@@ -78,7 +78,7 @@
<td>
<#if outgoingProductionRunList?has_content>
<#list outgoingProductionRunList as outgoingProductionRun>
- <div class="tabletext">${outgoingProductionRun.workEffortParentId}:${outgoingProductionRun.workEffortId}-${(outgoingProductionRun.estimatedStartDate.toString())?if_exists}-<#if outgoingProductionRun.estimatedQuantity?exists>${outgoingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
+ <div class="tabletext">${outgoingProductionRun.workEffortParentId?default("")}:${outgoingProductionRun.workEffortId}-${(outgoingProductionRun.estimatedStartDate.toString())?if_exists}-<#if outgoingProductionRun.estimatedQuantity?exists>${outgoingProductionRun.estimatedQuantity?string.number}<#else>[${uiLabelMap.ProductQuantityNotSet}]</#if></div>
</#list>
<div class="tabletext"><b>${uiLabelMap.CommonTotal}: ${outgoingQuantityTotal?if_exists}</b></div>
<#else>