You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pr...@apache.org on 2016/05/25 06:42:01 UTC

svn commit: r1745438 - /ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml

Author: pranayp
Date: Wed May 25 06:42:01 2016
New Revision: 1745438

URL: http://svn.apache.org/viewvc?rev=1745438&view=rev
Log:
[OFBIZ-7116] - Applied patch from the ticket for fixing issue in Product Backlog items update. Screenshot for the error attached on the ticket.
 
 Steps to regenerate-
 1. Go to https://localhost:8443/scrum/control/AddProdBacklog?productId=DEMO-PRODUCT-1
 2. When try to update the backlog, error occurs.
 
 Thanks Amardeep Singh Jhajj for the contribution.
 


Modified:
    ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml

Modified: ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml?rev=1745438&r1=1745437&r2=1745438&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml Wed May 25 06:42:01 2016
@@ -684,8 +684,7 @@
                 <!-- Check if there are duplicate value will reorder and change it -->
                 <set field="custRequestIndex" type="List"/>
                 <set field="custRequestIndexToSet" value="${groovy: import java.util.Set; new HashSet(custRequestIndexList);}"/>
-                <set field="custRequestIndexToList" from-field="custRequestIndexToSet" type="List"/>
-                <iterate entry="custRequestIndexMap" list="custRequestIndexToList">
+                <iterate entry="custRequestIndexMap" list="custRequestIndexToSet">
                     <set field="count" value="0" type="Integer"/>
                     <loop count="${custRequestListSize}" field="l">
                         <if-compare-field field="custRequestList[l].custSequenceNum" operator="equals" to-field="custRequestIndexMap" type="Integer">