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

SCORM return url invalid

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.6
    • 2.8.9, 2.9.3
    • SCORM
    • linux with apache and mysql
    • MySQL
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-51302-master
    • Hide

      set to show each section on different page

      Show
      set to show each section on different page
    • Hide
      1. As teacher in course
      2. Use topics or weeks course format and 'Course layout' set to 'All sections in one page'
      3. Add a new scorm activity (use fruit quiz) to course section 3
      4. Select the scorm option 'New window' in 'Display package'
      5. Save amd preview the scorm activity
      6. In the non-new window, the text 'This SCORM package has been launched in a popup window, [...]' - click that link
      7. VERIFY: it should bring you back to the same section you came from in the course i.e. user view.php?id=ID#section-3
      8. Change the course setting 'Course layout' set to 'One section per page'
      9. VERIFY:it should bring you back to the right section page
      Show
      As teacher in course Use topics or weeks course format and 'Course layout' set to 'All sections in one page' Add a new scorm activity (use fruit quiz) to course section 3 Select the scorm option 'New window' in 'Display package' Save amd preview the scorm activity In the non-new window, the text 'This SCORM package has been launched in a popup window, [...] ' - click that link VERIFY: it should bring you back to the same section you came from in the course i.e. user view.php?id=ID#section-3 Change the course setting 'Course layout' set to 'One section per page' VERIFY:it should bring you back to the right section page

    Description

      When using a scorm activity which opens in a new window in a course which is using topics format and set to show all sections on one page. Also set the theme to clean to avoid issues with custom themes.

      Launch the SCORM in a new window then move the window out of the way and view the return url on the previous page which says
      "This SCORM package has been launched in a popup window, If you have finished viewing this resource, click here to return to the course page" This is a link to the url the server will return to when the scorm activity is exited and contains the error.

      The url the scorm returns to is invalid as it looses a single character from the end of the url string as per below

      http://

      {servername}/course/view.php?id={course_id}#section-

      It should return the following url.

      http://{servername}

      /course/view.php?id=

      {course_id}

      #section-2

      The Id number is removed from the url so moodle defaults to showing only the course summary as that part of the url is complete.

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              barry.matthias@remote-learner.net barry matthias
              Dan Marsden Dan Marsden
              Andrew Lyons Andrew Lyons
              cameron1729 cameron1729
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/15