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

SCORM report does not close 2 div tags and messes up theme on report with no attempts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.2
    • 2.0.5, 2.1.3, 2.2.1
    • SCORM
    • Any
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_22_STABLE
      1. Set the site's theme to afterburner
      2. Create a SCORM activity
      3. Navigate to the SCORM Activity
      4. Click the Report tab

      The report page doesn't close a div tag and the form tag is a user can delete and there are not attempts. The report also doen't close a second div tag if there are no attempts.

      This causes Moodle themes to not display correctly and the user has difficulty exiting.

      Attached is a patch that resolves the issue by adding closing tags to the else statement after checking it there are attempts.

            ankit_frenz Ankit Agarwal
            jrh18 Jason Hardin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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