Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java,v diff -u -r1.195.2.12 -r1.195.2.13 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java 25 Sep 2015 13:28:29 -0000 1.195.2.12 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java 26 Sep 2015 08:05:39 -0000 1.195.2.13 @@ -1419,7 +1419,11 @@ learnerProgress.getAttemptedActivities().remove(activity); learnerProgress.getCompletedActivities().remove(activity); if (removeLearnerContent) { - resetReadOnly = removeLearnerContent(activity, learner, resetReadOnly); + // the iteration goes from the end of the sequence to the beginning + // once an activity reports it will not reset its read-only flag, no other activities will reset it + // Also target activity does not have it reset + resetReadOnly = removeLearnerContent(activity, learner, + resetReadOnly && !activity.equals(targetActivity)); } }