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

"Hidden" and "Hidden until" settings are not mutually exclusive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1, 3.6.2
    • Fix Version/s: None
    • Component/s: Gradebook
    • Testing Instructions:
      Hide

      Case 1

      • Select "Grader Report" from Grade Administration
      • Click "Turn Editing On"
      • Click on any Settings Gear Icon
      • Click on Checkbox for Enable for Hidden Until.
      • Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled.

      Case 2

      • Select "Gradebook Setup" from Grade Administration
      • Click "Add Grade Item"
      • If you don't see Hidden Until, click on Show more..
      • Click on Checkbox for Enable for Hidden Until.
      • Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled.

      Case 3

      • Select "Gradebook Setup" from Grade Administration
      • Click "Edit"(Edit Settings) next to Grade Category
      • If you don't see Hidden Until, click on Show more..
      • Click on Checkbox for Enable for Hidden Until.
      • Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled.

      Case 4

      • Add outcome to a course
      • Create assignment and associate it with an outcome
      • Go to Gradebook setup
      • Click on edit for outcome for assignment and click on "Edit settings"
      • If you don't see Hidden Until, click on Show more..
      • Click on Checkbox for Enable for Hidden Until.
      • Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled.
      Show
      Case 1 Select "Grader Report" from Grade Administration Click "Turn Editing On" Click on any Settings Gear Icon Click on Checkbox for Enable for Hidden Until. Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled. Case 2 Select "Gradebook Setup" from Grade Administration Click "Add Grade Item" If you don't see Hidden Until, click on Show more.. Click on Checkbox for Enable for Hidden Until. Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled. Case 3 Select "Gradebook Setup" from Grade Administration Click "Edit"(Edit Settings) next to Grade Category If you don't see Hidden Until, click on Show more.. Click on Checkbox for Enable for Hidden Until. Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled. Case 4 Add outcome to a course Create assignment and associate it with an outcome Go to Gradebook setup Click on edit for outcome for assignment and click on "Edit settings" If you don't see Hidden Until, click on Show more.. Click on Checkbox for Enable for Hidden Until. Observe that the Hidden checkbox is disabled to gray so that user can't check Hidden it when Hidden until is enabled.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-59646_hidden_and_hidden_until_mutually_exclusive

      Description

      The "Hidden" and "Hidden until" settings should be mutually exclusive. In the code there is a disableif statement that will disable the Hidden setting if Hidden until is enabled. But it is not working and not correctly setup.

      This patch will resolve that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rex Rex Lorenzo
              Peer reviewer:
              Mark Nelson
              Integrator:
              David Monllaó
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated: