Author: doogie Date: Thu Dec 9 15:14:25 2010 New Revision: 1043996 URL: http://svn.apache.org/viewvc?rev=1043996&view=rev Log: In the persistRootCompDoc event, the loop over the results from service persistContentRevisionAndItem was fetching values from the previous iteration over the persistContentAndAssoc service.
broken since: http://svn.ofbiz.org/svn/ofbiz/tr...@6770, initial checkin date: Fri Feb 17 22:14:40 2006 +0000 Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocEvents.java Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocEvents.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocEvents.java?rev=1043996&r1=1043995&r2=1043996&view=diff ============================================================================== --- ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocEvents.java (original) +++ ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocEvents.java Thu Dec 9 15:14:25 2010 @@ -125,7 +125,7 @@ public class CompDocEvents { iter = keySet.iterator(); while (iter.hasNext()) { Object obj = iter.next(); - Object val = persistResult.get(obj); + Object val = result.get(obj); request.setAttribute(obj.toString(), val); } String errorMsg = ServiceUtil.getErrorMessage(result);

