Author: jleroux
Date: Fri Feb 24 18:45:36 2012
New Revision: 1293379
URL:
http://svn.apache.org/viewvc?rev=1293379&view=revLog:
A patch from Markus M. May "Problem when saving a product to a shopping list"
https://issues.apache.org/jira/browse/OFBIZ-4589Steps to reproduce:
Go to
http://localhost:8080/ecommerce/control/editShoppingList Login as flexadmin
Click "create new"
Paste "WG-1111" in Quick Add to Shopping List SKU box
Click "Add to Shopping List"
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?rev=1293379&r1=1293378&r2=1293379&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl Fri Feb 24 18:45:36 2012
@@ -432,8 +432,7 @@ under the License.
<td align="right"><div class="tabletext"><b>${uiLabelMap.OrderTotal}</b></div></td>
<td> </td>
</tr>
-
- <#list shoppingListItemDatas[lowIndex..highIndex-1] as shoppingListItemData>
+ <#list shoppingListItemDatas[lowIndex-1..highIndex-1] as shoppingListItemData>
<#assign shoppingListItem = shoppingListItemData.shoppingListItem/>
<#assign product = shoppingListItemData.product/>
<#assign productContentWrapper = Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(product, request)/>