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

mod_lti does not track page views for completion when opened in a new window

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Testing setup:

      1. Add a new Activity to your Course
      2. Choose External Tool (LTI)
      3. Enter an Activity Name 'External Tool New Window'
      4. Set Launch URL to 'http://www.google.com'
      5. Click Show more... in the General section
      6. Set Launch Container to New Window
      7. Save changes.
      1. Add a new Activity to your Course
      2. Choose External Tool (LTI)
      3. Enter an Activity Name 'External Tool Default'
      4. Set Launch URL to 'http://www.google.com'
      5. Click Show more... in the General section
      6. Set Launch Container to Default
      7. Save changes.

      Test:

      1. Enroll a student.
      2. Login as the student and access both lti activities once.
      3. Login as admin and verify there is 2 entries for lti_view
      Show
      Testing setup: Add a new Activity to your Course Choose External Tool (LTI) Enter an Activity Name 'External Tool New Window' Set Launch URL to 'http://www.google.com' Click Show more... in the General section Set Launch Container to New Window Save changes. Add a new Activity to your Course Choose External Tool (LTI) Enter an Activity Name 'External Tool Default' Set Launch URL to 'http://www.google.com' Click Show more... in the General section Set Launch Container to Default Save changes. Test: Enroll a student. Login as the student and access both lti activities once. Login as admin and verify there is 2 entries for lti_view
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      mdl46710-master

      Description

      Replication steps:

      1. Enable Completion tracking for a course
      2. Add a new Activity to your Course
      3. Choose External Tool (LTI)
      4. Enter an Activity Name
      5. Set Launch URL to an LTI tool. You can use any URL here since we only care about activity (http://www.google.com works)
      6. Click Show more... in the General section
      7. Set Launch Container to New Window (so you don't have to use BACK button)
      8. Set completion tracking to: Show activity as complete when conditions are met
      9. Check the box: Student must view this activity to complete it
      10. Save changes.
      11. Enroll a student.
      12. Login as the student and access to the lti activity.

      Expected result: Activity should be marked completed.

      Actual result: Activity not marked as completed.

      NOTE:The activity logs don't show action/"lti view".

      This was reported in MDL-41520. It was reproduced in 2.6.3

        Attachments

          Activity

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15