svn commit: r737671 - in /ofbiz/trunk/applications: ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl order/webapp/ordermgr/entry/catalog/configproductdetail.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r737671 - in /ofbiz/trunk/applications: ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl order/webapp/ordermgr/entry/catalog/configproductdetail.ftl

bibryam
Author: bibryam
Date: Mon Jan 26 10:59:37 2009
New Revision: 737671

URL: http://svn.apache.org/viewvc?rev=737671&view=rev
Log:
Fixed NPE in configurable product screen reported by Amit in user list.

Modified:
    ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl
    ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl

Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl?rev=737671&r1=737670&r2=737671&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl Mon Jan 26 10:59:37 2009
@@ -366,7 +366,7 @@
         <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
           <input type="hidden" name="productId" value="${product.productId}">
           <input type="hidden" name="product_id" value="${product.productId}">
-          <input type="hidden" name="configId" value="${configId}">
+          <input type="hidden" name="configId" value="${configId?if_exists}">
           <select name="shoppingListId">
             <#if shoppingLists?has_content>
               <#list shoppingLists as shoppingList>

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl?rev=737671&r1=737670&r2=737671&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl Mon Jan 26 10:59:37 2009
@@ -366,7 +366,7 @@
         <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if></@ofbizUrl>">
           <input type="hidden" name="productId" value="${product.productId}">
           <input type="hidden" name="product_id" value="${product.productId}">
-          <input type="hidden" name="configId" value="${configId}">
+          <input type="hidden" name="configId" value="${configId?if_exists}">
           <select name="shoppingListId">
             <#if shoppingLists?has_content>
               <#list shoppingLists as shoppingList>