Author: jacopoc
Date: Sat Jun 2 16:07:46 2012
New Revision: 1345528
URL:
http://svn.apache.org/viewvc?rev=1345528&view=revLog:
Fixed issue introduced with the recent changes to getRelated signatures. The error was blowing up the view cart screen in the backend.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl?rev=1345528&r1=1345527&r2=1345528&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/cart/showcartitems.ftl Sat Jun 2 16:07:46 2012
@@ -212,7 +212,7 @@ under the License.
<#-- Show Associated Products (not for Variants) -->
<#if cartLine.getProductId()?exists>
- <#assign itemProductAssocList = cartLine.getProduct().getRelated("MainProductAssoc", Static["org.ofbiz.base.util.UtilMisc"].toList("productAssocTypeId", "sequenceNum"), false)?if_exists/>
+ <#assign itemProductAssocList = cartLine.getProduct().getRelated("MainProductAssoc", null, Static["org.ofbiz.base.util.UtilMisc"].toList("productAssocTypeId", "sequenceNum"), false)?if_exists/>
</#if>
<#if itemProductAssocList?exists && itemProductAssocList?has_content>
<tr><td colspan="8"><hr /></td></tr>