You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2008/08/18 04:37:10 UTC

svn commit: r686668 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

Author: doogie
Date: Sun Aug 17 19:37:10 2008
New Revision: 686668

URL: http://svn.apache.org/viewvc?rev=686668&view=rev
Log:
Iterate the correct list.

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java?rev=686668&r1=686667&r2=686668&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java Sun Aug 17 19:37:10 2008
@@ -1190,7 +1190,7 @@
                        kidContent.put("contentTypeId", "PAGE_NODE");
                        kidContent.store();
                        List kids2 = ContentWorker.getAssociatedContent(kidContent, "from", UtilMisc.toList("SUB_CONTENT"), null, null, null);
-                    Iterator iter2 = kids.iterator();
+                    Iterator iter2 = kids2.iterator();
                     while (iter2.hasNext()) {
                         GenericValue kidContent2 = (GenericValue)iter2.next();
                            updatePageNodeChildren(kidContent2, context);