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

Make parent category visible if an item within it is made visible

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Currently a teacher can go to the "Categories and Items" page and hide a category containing assessment items. All of the items will be hidden which makes sense. The teacher can then manually make some of the items visible and the category remains invisible.

      This conflict of an invisible category containing a visible item leads to some strange behaviour. The invisible category means the item won't be displayed to students on the user report but it appears that the visible, yet not displayed, item is still included in aggregation calculations. To fix that the teacher needs to show the category which then automatically shows everything else in that category so they then have to go through and hide everything but the one item they originally marked visible. Plus it's just generally illogical to to have a visible item in an invisible category.

      When an item is made visible that should propagate up to its category.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Mar/10