Index: lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java =================================================================== RCS file: /usr/local/cvsroot/lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java,v diff -u -r1.25.10.4 -r1.25.10.5 --- lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java 5 Jan 2017 11:19:30 -0000 1.25.10.4 +++ lams_common/src/java/org/lamsfoundation/lams/lesson/LearnerProgress.java 5 Jan 2017 12:31:42 -0000 1.25.10.5 @@ -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());