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

trivial invalid html (typo) in mod_scorm causes countdown error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6.6, 2.7.2
    • 2.5.8, 2.6.5, 2.7, 2.8
    • SCORM

      This is a trivial html error/type, where </p> was entered as <p>.
      In loadSCO.php, the redirect has a timer showing how many seconds until redirect, which prints essentially this:

          <p>Loading ... <span id='countdown'>XX</span> seconds<p>
      

      The "/" missing from the close tag causes a Javascript error in IE in the two lines that follow the type:

                  var e = document.getElementById("countdown");
                  var cSeconds = parseInt(e.innerHTML);
      

      FYI to Dan and Vignesh - I have several more issues coming your way next week, including some significant regressions. I have fixes in place, I just need to get them cleaned up, committed to Github, tests written where appropriate, etc.

            raymor Ray Morris
            raymor Ray Morris
            Dan Marsden Dan Marsden
            Marina Glancy Marina Glancy
            Rajesh Taneja Rajesh Taneja
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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