Index: lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java
===================================================================
diff -u -ra1f83079a0fedc3d6982fde779286d0246847339 -r4508ae32cc04a4072f3ec94f60168f1b9cee9e71
--- lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java (.../VoteLearningStarterAction.java) (revision a1f83079a0fedc3d6982fde779286d0246847339)
+++ lams_tool_vote/src/java/org/lamsfoundation/lams/tool/vote/web/VoteLearningStarterAction.java (.../VoteLearningStarterAction.java) (revision 4508ae32cc04a4072f3ec94f60168f1b9cee9e71)
@@ -524,6 +524,11 @@
logger.debug("userAttempts: "+ userAttempts);
request.setAttribute(LIST_GENERAL_CHECKED_OPTIONS_CONTENT, userAttempts);
+
+ VoteGeneralMonitoringDTO voteGeneralMonitoringDTO=new VoteGeneralMonitoringDTO();
+ MonitoringUtil.prepareChartData(request, voteService, null, voteContent.getVoteContentId().toString(),
+ voteSession.getUid().toString(), voteGeneralLearnerFlowDTO, voteGeneralMonitoringDTO);
+
String isContentLockOnFinish=voteLearningForm.getLockOnFinish();
logger.debug("isContentLockOnFinish: " + isContentLockOnFinish);
@@ -539,10 +544,6 @@
voteLearningForm.setRevisitingUser(new Boolean(true).toString());
voteGeneralLearnerFlowDTO.setRevisitingUser(new Boolean(true).toString());
logger.debug("preparing chart data for readonly mode");
-
- VoteGeneralMonitoringDTO voteGeneralMonitoringDTO=new VoteGeneralMonitoringDTO();
- MonitoringUtil.prepareChartData(request, voteService, null, voteContent.getVoteContentId().toString(),
- voteSession.getUid().toString(), voteGeneralLearnerFlowDTO, voteGeneralMonitoringDTO);
logger.debug("view-only voteGeneralLearnerFlowDTO: " + voteGeneralLearnerFlowDTO);
Index: lams_tool_vote/web/learning/ExitLearning.jsp
===================================================================
diff -u -r96c1c8dd84ea09aae381a617c58166f220277537 -r4508ae32cc04a4072f3ec94f60168f1b9cee9e71
--- lams_tool_vote/web/learning/ExitLearning.jsp (.../ExitLearning.jsp) (revision 96c1c8dd84ea09aae381a617c58166f220277537)
+++ lams_tool_vote/web/learning/ExitLearning.jsp (.../ExitLearning.jsp) (revision 4508ae32cc04a4072f3ec94f60168f1b9cee9e71)
@@ -36,6 +36,9 @@