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

SCORM player doesn't remember display mode when not logged in

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 3.2.1
    • Fix Version/s: 3.1.4, 3.2.1
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. Add course that includes a scorm package activity that opens in a popup window
      2. Enter the scorm package activity (a popup window should open)
      3. Leave the popup window open and logout from moodle on the original page
      4. Refresh the popup (you should be redirected to login/index.php inside the popup)
      5. Login in the popup

      Result before fix: a second popup is opened displaying the activity
      Result after fix: the activity is shown in the already opened popup

      Show
      Add course that includes a scorm package activity that opens in a popup window Enter the scorm package activity (a popup window should open) Leave the popup window open and logout from moodle on the original page Refresh the popup (you should be redirected to login/index.php inside the popup) Login in the popup Result before fix: a second popup is opened displaying the activity Result after fix: the activity is shown in the already opened popup
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56836-master

      Description

      We use a direct link to the SCORM player to show a SCORM package from outside Moodle.
      If the user is already logged in in Moodle, this works as we want it to.
      However if the user is not logged in yet, the display parameter is reset when continuing from the login screen to the moodle player.

      The attached patch fixes the problem for us (assuming that this behavior was not intentional):

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bramt Bram Tassyns
            Peer reviewer:
            Jake Dallimore
            Integrator:
            Dan Poltawski
            Tester:
            Ankit Agarwal
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Jan/17