Index: lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java =================================================================== diff -u -rbdf9ae9c42902b4b2a275fdc787e1814368c8fb2 -r06b149eba79729625fb492e35385afc73adb97f2 --- lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java (.../LearnerProgress.java) (revision bdf9ae9c42902b4b2a275fdc787e1814368c8fb2) +++ lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java (.../LearnerProgress.java) (revision 06b149eba79729625fb492e35385afc73adb97f2) @@ -356,10 +356,14 @@ } Date activityStartDate = attemptedActivities.get(activity); - if (activityStartDate == null) { + if ( activityStartDate != null && state == LearnerProgress.ACTIVITY_ATTEMPTED ) { + log.warn("Progress " + this.getLearnerProgressId() + " found newly attempted activity " + + activity.getActivityId()+" already in in the attempted activities set."); + } else if ( activityStartDate == null && state != LearnerProgress.ACTIVITY_ATTEMPTED ) { log.warn("Progress " + this.getLearnerProgressId() + " found NULL start date of activity " - + activity.getActivityId()); + + activity.getActivityId()+". Activity missing from attempted activities list."); } + if (oldState == LearnerProgress.ACTIVITY_NOT_ATTEMPTED) { log.debug("Progress " + this.getLearnerProgressId() + " does not remove not attempted activity " + activity.getActivityId());