Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java,v diff -u -r1.56 -r1.57 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java 18 Jun 2006 18:35:33 -0000 1.56 +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java 22 Jun 2006 07:15:54 -0000 1.57 @@ -611,11 +611,13 @@ //set ResourceToolContentHandler as null to avoid copy file node in repository again. toolContentObj = Forum.newInstance(toolContentObj,toolContentId,null); toolContentObj.setToolContentHandler(null); + toolContentObj.setCreatedBy(null); Set items = toolContentObj.getMessages(); Set authorItems = new HashSet(); for(Message item:items){ if(item.getIsAuthored()){ authorItems.add(item); + item.setCreatedBy(null); item.setToolSession(null); item.setForum(null); item.setToolContentHandler(null);