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

Completion data for LTI not updated before rendering navigation

XMLWordPrintable

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59668_master
    • Hide
      Prerequisite
      1. Enable completion and availability under 'Advanced features'.
      2. Create a course with completion enabled.
      Test 1
      1. Create an LTI activity with 'Launch container' set to 'Default', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want).
      2. Create an assignment that is restricted until the LTI activity is completed.
      3. Enrol a student into this course.
      4. Log in as the student.
      5. Click on the LTI activity.
      6. Confirm there is a link to the assignment.
      7. Log in as the admin and visit the course.
      8. Visit 'Course administration' > 'Reports' > 'Logs'.
      9. Confirm there is only one 'Course module viewed' event for that module.

      NOTE: There will be two completion updated events, ignore that (see MDL-45581).

      Test 2
      1. Create an LTI activity with 'Launch container' set to 'Embeded', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want).
      2. Create an assignment that is restricted until the LTI activity is completed.
      3. Enrol a student into this course.
      4. Log in as the student.
      5. Click on the LTI activity.
      6. Confirm there is a link to the assignment.
      7. Log in as the admin and visit the course.
      8. Visit 'Course administration' > 'Reports' > 'Logs'.
      9. Confirm there is only one 'Course module viewed' event for that module.
      Test 3
      1. Create an LTI activity with 'Launch container' set to 'Embeded, without blocks', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want).
      2. Create an assignment that is restricted until the LTI activity is completed.
      3. Enrol a student into this course.
      4. Log in as the student.
      5. Click on the LTI activity.
      6. Confirm there is a link to the assignment.
      7. Log in as the admin and visit the course.
      8. Visit 'Course administration' > 'Reports' > 'Logs'.
      9. Confirm there is only one 'Course module viewed' event for that module.
      Test 4
      1. Create an assignment.
      2. Create an LTI activity with 'Launch container' set to 'Existing window', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want).
      3. Create an assignment that is restricted until the LTI activity is completed.
      4. Enrol a student into this course.
      5. Log in as the student.
      6. Click on the first assignment.
      7. Confirm there is a link to the LTI activity.
      8. Click on the link and ensure the LTI activity displays in an embed frame.
      9. Click on the LTI activity.
      10. Confirm there is a link to the assignment.
      11. Log in as the admin and visit the course.
      12. Visit 'Course administration' > 'Reports' > 'Logs'.
      13. Confirm there is only one 'Course module viewed' event for that module.
      Test 5
      1. Create an assignment.
      2. Create an LTI activity with 'Launch container' set to 'New window', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want).
      3. Create another assignment that is restricted until the LTI activity is completed.
      4. Enrol a student into this course.
      5. Log in as the student.
      6. Click on the first assignment.
      7. Confirm there is a link to the LTI activity.
      8. Click on the link and ensure the LTI activity does not open a new window but provides a link that will.
      9. Confirm there is a link to other assignment.
      10. Log in as the admin and visit the course.
      11. Visit 'Course administration' > 'Reports' > 'Logs'.
      12. Confirm there is only one 'Course module viewed' event for that module.
      Show
      Prerequisite Enable completion and availability under 'Advanced features'. Create a course with completion enabled. Test 1 Create an LTI activity with 'Launch container' set to 'Default', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want). Create an assignment that is restricted until the LTI activity is completed. Enrol a student into this course. Log in as the student. Click on the LTI activity. Confirm there is a link to the assignment. Log in as the admin and visit the course. Visit 'Course administration' > 'Reports' > 'Logs'. Confirm there is only one 'Course module viewed' event for that module. NOTE: There will be two completion updated events, ignore that (see MDL-45581 ). Test 2 Create an LTI activity with 'Launch container' set to 'Embeded', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want). Create an assignment that is restricted until the LTI activity is completed. Enrol a student into this course. Log in as the student. Click on the LTI activity. Confirm there is a link to the assignment. Log in as the admin and visit the course. Visit 'Course administration' > 'Reports' > 'Logs'. Confirm there is only one 'Course module viewed' event for that module. Test 3 Create an LTI activity with 'Launch container' set to 'Embeded, without blocks', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want). Create an assignment that is restricted until the LTI activity is completed. Enrol a student into this course. Log in as the student. Click on the LTI activity. Confirm there is a link to the assignment. Log in as the admin and visit the course. Visit 'Course administration' > 'Reports' > 'Logs'. Confirm there is only one 'Course module viewed' event for that module. Test 4 Create an assignment. Create an LTI activity with 'Launch container' set to 'Existing window', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want). Create an assignment that is restricted until the LTI activity is completed. Enrol a student into this course. Log in as the student. Click on the first assignment. Confirm there is a link to the LTI activity. Click on the link and ensure the LTI activity displays in an embed frame. Click on the LTI activity. Confirm there is a link to the assignment. Log in as the admin and visit the course. Visit 'Course administration' > 'Reports' > 'Logs'. Confirm there is only one 'Course module viewed' event for that module. Test 5 Create an assignment. Create an LTI activity with 'Launch container' set to 'New window', and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want). Create another assignment that is restricted until the LTI activity is completed. Enrol a student into this course. Log in as the student. Click on the first assignment. Confirm there is a link to the LTI activity. Click on the link and ensure the LTI activity does not open a new window but provides a link that will. Confirm there is a link to other assignment. Log in as the admin and visit the course. Visit 'Course administration' > 'Reports' > 'Logs'. Confirm there is only one 'Course module viewed' event for that module.

      1. Enable completion and availability under 'Advanced features'.
      2. Create a course with completion enabled.
      3. Create an LTI activity and set it to complete when it is viewed (use https://api.feedbackfruits.com/v1/lti/launch/video if you want).
      4. Create an assignment that is restricted until the LTI activity is completed.
      5. Enrol a student into this course.
      6. Log in as the student.
      7. Click on the LTI activity.
      8. Notice that there is no link to the assignment even though LTI is completed.
      9. Refresh the page.
      10. Notice there is now a link to the assignment.

            markn Mark Nelson
            markn Mark Nelson
            Jun Pataleta Jun Pataleta
            David Monllaó David Monllaó
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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