You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/07/10 09:16:34 UTC
[jira] [Closed] (OFBIZ-4957) Error on Shopping List Page
[ https://issues.apache.org/jira/browse/OFBIZ-4957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-4957.
----------------------------------
Resolution: Fixed
Fix Version/s: Release Branch 12.04
Assignee: Jacques Le Roux
Hi Ankit,
It was not really the answer I expected, so I checked myself and indeed there is clearly a difference between each EditShoppingList.groovy
ecommerce is : lowIndex = (((viewIndex - 1) * viewSize) + 1);
when party is : lowIndex = viewIndex * viewSize;
So your patch is in
trunk r1359500
R12.04 1359501
Thanks
> 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
> Assignee: Jacques Le Roux
> Priority: Trivial
> Fix For: SVN trunk, Release Branch 12.04
>
> 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