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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.1.3
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      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>
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull Master Branch:
      master_MDL-29159

      Description

      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.)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  5 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    28/Nov/11