Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74963

Fix JavaScript scripting completion cheat

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.0.1
    • SCORM
    • None
    • MOODLE_400_STABLE
    • Hide

      1- Add JavaScript cheat to your bookmarks
      2- Create a course
      3- Create a SCORM activity
      4- Edit SCORM settings
      5- Navigate to "Activity completion"
      6- Set "Completion tracking" to "Show activity as complete when conditions are met"
      7- Tick "Student must view this activity to complete it"
      8- Tick "Completed"
      9- Tick "Require all scos to return completion status"
      10- Save
      11- Access Scorm activity > Enter
      12- SCORM popup should appear, return to main page from which you clicked "Enter"
      13- Navigate to your bookmarks and click the saved cheat bookmark
      14- Enter the amount of time
      15- Check table `course_modules_completion`, corresponding activity row `completionstate` will be 1
      16- Check table `scorm_scoes_track`, you should have row `x.start.time` with timestamp start time and `cmi.completion_status` or `cmi.core.lesson_status` set to `completed` for same scormid

      Add patch to your current moodle install

      1 - Create another SCORM activity and do steps 2 to 14 again
      2 - Cheat should failĀ 
      3 - Check table `course_modules_completion`, corresponding activity row `completionstate` will be 0
      16- Check table `scorm_scoes_track`, you should have row `x.start.time` with timestamp start time and `cmi.completion_status` or `cmi.core.lesson_status` should not exist for given scormid

      Show
      1- Add JavaScript cheat to your bookmarks 2- Create a course 3- Create a SCORM activity 4- Edit SCORM settings 5- Navigate to "Activity completion" 6- Set "Completion tracking" to "Show activity as complete when conditions are met" 7- Tick "Student must view this activity to complete it" 8- Tick "Completed" 9- Tick "Require all scos to return completion status" 10- Save 11- Access Scorm activity > Enter 12- SCORM popup should appear, return to main page from which you clicked "Enter" 13- Navigate to your bookmarks and click the saved cheat bookmark 14- Enter the amount of time 15- Check table `course_modules_completion`, corresponding activity row `completionstate` will be 1 16- Check table `scorm_scoes_track`, you should have row `x.start.time` with timestamp start time and `cmi.completion_status` or `cmi.core.lesson_status` set to `completed` for same scormid Add patch to your current moodle install 1 - Create another SCORM activity and do steps 2 to 14 again 2 - Cheat should failĀ  3 - Check table `course_modules_completion`, corresponding activity row `completionstate` will be 0 16- Check table `scorm_scoes_track`, you should have row `x.start.time` with timestamp start time and `cmi.completion_status` or `cmi.core.lesson_status` should not exist for given scormid

      At the moment, a student can access a SCORM activity and mark it completed using a JavaScript bookmark-let script even though the student did not attend the entire SCORM activity.

      Current patch is checking that completion time given does not exceed current time.

            Unassigned Unassigned
            marcalexandreghaly Marc-Alexandre GHALY
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.