Index: lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/McGeneralLearnerFlowDTO.java =================================================================== diff -u -r6ce3706b391e6c79a50eb0180c14e2ee4535fff5 -r019e11f9b8c2198557291f6b4a2244328f22f263 --- lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/McGeneralLearnerFlowDTO.java (.../McGeneralLearnerFlowDTO.java) (revision 6ce3706b391e6c79a50eb0180c14e2ee4535fff5) +++ lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/McGeneralLearnerFlowDTO.java (.../McGeneralLearnerFlowDTO.java) (revision 019e11f9b8c2198557291f6b4a2244328f22f263) @@ -336,6 +336,7 @@ .append("activityInstructions: ", activityInstructions) .append("activityTitle: ", activityTitle) .append("questionListingMode: ", questionListingMode) + .append("learnerProgress: ", learnerProgress) .toString(); } Index: lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McLearningAction.java =================================================================== diff -u -r23dfda22f89f127769d9d95688f025481bd836d7 -r019e11f9b8c2198557291f6b4a2244328f22f263 --- lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McLearningAction.java (.../McLearningAction.java) (revision 23dfda22f89f127769d9d95688f025481bd836d7) +++ lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McLearningAction.java (.../McLearningAction.java) (revision 019e11f9b8c2198557291f6b4a2244328f22f263) @@ -1067,6 +1067,9 @@ logger.debug("mcContent: " + mcContent); McGeneralLearnerFlowDTO mcGeneralLearnerFlowDTO=LearningUtil.buildMcGeneralLearnerFlowDTO(mcContent); + mcGeneralLearnerFlowDTO.setLearnerProgress(new Boolean(true).toString()); + request.setAttribute(MC_GENERAL_LEARNER_FLOW_DTO, mcGeneralLearnerFlowDTO); + logger.debug("MC_GENERAL_LEARNER_FLOW_DTO: " + request.getAttribute(MC_GENERAL_LEARNER_FLOW_DTO)); int intTotalQuestionCount=mcContent.getMcQueContents().size(); String totalQuestionCount= new Integer(intTotalQuestionCount).toString(); Index: lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McLearningStarterAction.java =================================================================== diff -u -r23dfda22f89f127769d9d95688f025481bd836d7 -r019e11f9b8c2198557291f6b4a2244328f22f263 --- lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McLearningStarterAction.java (.../McLearningStarterAction.java) (revision 23dfda22f89f127769d9d95688f025481bd836d7) +++ lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McLearningStarterAction.java (.../McLearningStarterAction.java) (revision 019e11f9b8c2198557291f6b4a2244328f22f263) @@ -325,14 +325,6 @@ mcLearningForm.setLearnerProgress(new Boolean(true).toString()); mcLearningForm.setLearnerProgressUserId(userId); - McGeneralLearnerFlowDTO mcGeneralLearnerFlowDTO=(McGeneralLearnerFlowDTO)request.getAttribute(MC_GENERAL_LEARNER_FLOW_DTO); - mcGeneralLearnerFlowDTO.setLearnerProgress(new Boolean(true).toString()); - mcGeneralLearnerFlowDTO.setLearnerProgressUserId(userId); - request.setAttribute(MC_GENERAL_LEARNER_FLOW_DTO, mcGeneralLearnerFlowDTO); - logger.debug("MC_GENERAL_LEARNER_FLOW_DTO: " + request.getAttribute(MC_GENERAL_LEARNER_FLOW_DTO)); - - - McLearningAction mcLearningAction= new McLearningAction(); /* pay attention that this userId is the learner's userId passed by the request parameter. * It is differerent than USER_ID kept in the session of the current system user*/