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

Restriction by grade, incorrectly processed

XMLWordPrintable

    • MOODLE_405_STABLE

      Hello, I noticed an anomaly in version 4.5, possibly in others as well:

      • Let's assume we have 3 random activities (let's say SCORM) with a maximum score of 1.
      • In the gradebook we create a category that will contain all 3 activities.
      • The category grade will be the SUM of the 3 activities.
      • We set "Grade to pass" 3 AND check the "Exclude empty grades".
      • On the course page, we create a label with the text "All activities are complete" and in "Restrict access" we add the restriction by grade >=100%.

      If the student completes only 1 activity, the label above will be displayed.

      Normally, it would have been displayed after completing all 3 activities.

      If we uncheck the "Exclude empty grades" option, the problem is gone...

            Unassigned Unassigned
            salex S. Alex
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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