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

The moodle displays item even though isvisible=false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.7, 2.9
    • Fix Version/s: 2.9.5, 3.0.3
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. Upload the attached SCORM to Moodle (it contains a SCO marked as not visible)
      2. Check that in the TOC you see only five menu elements:
      • The first content (one SCO)
      • The second content (one SCO too)
      • Third content (this is an asset)
      • SCO with prerequisite (first and secon SCO)
      • Another SCO
      1. Now, create a separate SCORM activity using the singlescobasic.zip package that you can find here: https://github.com/moodle/moodle/tree/master/mod/scorm/tests/packages
      2. Check that the SCORM displays only one SCO called "Golf Explained"
      Show
      Upload the attached SCORM to Moodle (it contains a SCO marked as not visible) Check that in the TOC you see only five menu elements: The first content (one SCO) The second content (one SCO too) Third content (this is an asset) SCO with prerequisite (first and secon SCO) Another SCO Now, create a separate SCORM activity using the singlescobasic.zip package that you can find here: https://github.com/moodle/moodle/tree/master/mod/scorm/tests/packages Check that the SCORM displays only one SCO called "Golf Explained"
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-51123-master

      Description

      Scrom 2004

      Attribute isvisible:
      The isvisible attribute indicates whether or not this item
      is displayed when the structure of the package is displayed or rendered.
      Example:
      <item identifier="ITEM1" identifierref="RESOURCE1" isvisible="false">

      • In this example isvisible= false so the moodle should not display this item, but the bug is that the moodle displays the item even though isvisible=false

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Mar/16