Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java =================================================================== diff -u -r5cf94a873af22670c1bcfb832c7e868ef168333a -rcc9e5b829d2101f5357087abaa283e9014fefadb --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java (.../ForumService.java) (revision 5cf94a873af22670c1bcfb832c7e868ef168333a) +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/service/ForumService.java (.../ForumService.java) (revision cc9e5b829d2101f5357087abaa283e9014fefadb) @@ -706,6 +706,7 @@ item.setReport(null); item.setReplyNumber(0); item.setParent(null); + item.setSessionClones(null); } } toolContentObj.setMessages(authorItems); @@ -757,6 +758,8 @@ for(Message item:items){ item.setCreatedBy(user); item.setIsAuthored(true); + item.setForum(toolContentObj); + item.setSessionClones(new HashSet()); createRootTopic(toolContentObj.getUid(),(ForumToolSession) null,item); } } catch (ImportToolContentException e) { @@ -803,7 +806,7 @@ session.setStatus(ForumConstants.STATUS_CONTENT_COPYED); forumToolSessionDao.saveOrUpdate(session); - + log.debug("tool session ["+session.getSessionId()+"] created."); } public String leaveToolSession(Long toolSessionId, Long learnerId) throws DataMissingException, ToolException {