Moodle
  1. Moodle
  2. MDL-25794

SCORM 1.2 Sections do not work in my Moodle 2.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: SCORM
    • Environment:
      Centos, MySQL, Apache 2.2
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      15601

      Description

      A SCORM package (attached) with multiple sections in it, compliant to scorm 1.2, gives a strange exception in Moodle 2.0 (works fine in Moodle 1.9).
      (Although the attached file points to localhost, the SCORM player should still be able to display the course structure in it, as it does in v1.9 and with other packages.)

      The error occurs when going to the scorm course /moodle/mod/scorm/view.php?id=7

      • Home
      • / ► Courses
      • / ► Wiksunde
      • / ► Topic 1
      • / ► Differnetieren

      Debug info: Object of class stdClass could not be converted to string
      Stack trace:

      • line 309 of \lib\setuplib.php: coding_exception thrown
      • line 757 of \lib\outputcomponents.php: call to default_error_handler()
      • line 979 of \lib\outputcomponents.php: call to html_writer::tag()
      • line 966 of \lib\outputcomponents.php: call to html_writer::select_option()
      • line 1173 of \lib\outputrenderers.php: call to html_writer::select()
      • line 70 of \lib\outputrenderers.php: call to core_renderer->render_single_select()
      • line 734 of \mod\scorm\locallib.php: call to renderer_base->render()
      • line 89 of \mod\scorm\view.php: call to scorm_view_display()

        Activity

        Hide
        Eloy Lafuente (stronk7) added a comment -

        Closing as fixed because of PULL-93 passed tests.

        Thanks for report and fix! Ciao

        Show
        Eloy Lafuente (stronk7) added a comment - Closing as fixed because of PULL-93 passed tests. Thanks for report and fix! Ciao

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: