[ https://issues.apache.org/jira/browse/OFBIZ-4957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409789#comment-13409789 ]
Jacques Le Roux commented on OFBIZ-4957: ---------------------------------------- Hi Ankit, this remembers me http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?r1=1293379&r2=1293378&pathrev=1293379. I know it's not the same file and it could be completly unrelated. But could you please check why we should remove -1 here when we added it there? TIA > Error on Shopping List Page > --------------------------- > > Key: OFBIZ-4957 > URL: https://issues.apache.org/jira/browse/OFBIZ-4957 > Project: OFBiz > Issue Type: Bug > Components: party > Affects Versions: SVN trunk > Reporter: Ankit Jain > Priority: Trivial > Fix For: SVN trunk > > Attachments: OFBIZ-4957.patch > > > On the Shopping List page > https://demo-trunk.ofbiz.apache.org:8443/partymgr/control/addItemToShoppingList/editShoppingList > its throwing error > on line 199, column 38 in > component://party/webapp/partymgr/party/editShoppingList.ftl Negative > starting index for range, is lowIndex-1..highIndex-1 The problematic > instruction: ---------- ==> list > shoppingListItemDatas[lowIndex-1..highIndex-1] as shoppingListItemData [on > line 199, column 9 in > component://party/webapp/partymgr/party/editShoppingList.ftl] ---------- Java > backtrace for programmers: ---------- freemarker.template.TemplateException: > on line 199, column 38 in > component://party/webapp/partymgr/party/editShoppingList.ftl Negative > starting index for range, is lowIndex-1..highIndex-1 at > freemarker.core.DynamicKeyName.dealWithRangeKey(DynamicKeyName.java:157) at -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira