Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java =================================================================== diff -u -r6cb7e57626b862ec93d3f643606133a5731f6e73 -rbe6aeaa61647f690cc832be9174f30036ebe8e0e --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java (.../ForumService.java) (revision 6cb7e57626b862ec93d3f643606133a5731f6e73) +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java (.../ForumService.java) (revision be6aeaa61647f690cc832be9174f30036ebe8e0e) @@ -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);