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

Regression: HTML of currently launched/active SCO not rendering correctly in the TOC.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1.3
    • 2.1, 2.2
    • SCORM
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • master_MDL-29159
    • Hide

      Install this SCORM:
      http://moodle.org/mod/data/view.php?d=50&rid=1655
      use default settings
      enter SCORM and view toc on left hand side - make sure text is displayed like this:
      Fruit Quizzes (Score: ) with an image on the left.
      not:
      <span title="a=302&scoid=1977&currentorg=Course001&attempt=1" class="ygtvlabel" id="ygtvlabelel2">& lt;img src="http://localhost/moodle-git/moodle/theme/image.php?theme=standard& amp;amp;image=notattempted& amp;amp;rev=217& amp;amp;component=scorm" alt="Not attempted" title="Not attempted"& gt;& amp;nbsp;LMS Test Suite - SCO 1& amp;nbsp;</span>

      Show
      Install this SCORM: http://moodle.org/mod/data/view.php?d=50&rid=1655 use default settings enter SCORM and view toc on left hand side - make sure text is displayed like this: Fruit Quizzes (Score: ) with an image on the left. not: <span title="a=302&scoid=1977&currentorg=Course001&attempt=1" class="ygtvlabel" id="ygtvlabelel2">& lt;img src="http://localhost/moodle-git/moodle/theme/image.php?theme=standard& amp;amp;image=notattempted& amp;amp;rev=217& amp;amp;component=scorm" alt="Not attempted" title="Not attempted"& gt;& amp;nbsp;LMS Test Suite - SCO 1& amp;nbsp;</span>

      The HTML rendered in the TOC for currently active/launched SCO is coming up something like this -

      <span title="a=302&scoid=1977&currentorg=Course001&attempt=1" class="ygtvlabel" id="ygtvlabelel2">& lt;img src="http://localhost/moodle-git/moodle/theme/image.php?theme=standard& amp;amp;image=notattempted& amp;amp;rev=217& amp;amp;component=scorm" alt="Not attempted" title="Not attempted"& gt;& amp;nbsp;LMS Test Suite - SCO 1& amp;nbsp;</span>

      You can find - & nbsp; & gt; & lt; in the HTML instead of > < etc.

      (remove white character between &_nbsp; etc.)

            danmarsden Dan Marsden
            mayank_gupta2005 Mayank Gupta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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