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

Restriction require grade to pass doesn't work

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable Completion tracking at the course level
      2. Try adding a quiz
      3. Make sure the "Require passing grade" setting is now dependent on "Student must receive a grade to complete this activity" setting.
      4. Repeat the test in description of this issue and make sure the user can now see the workshop module (since now both settings would be checked).
      5. Create two activities in a course or go to a course with at least two activities.
      6. Enable completion.
      7. Set "Student must receive a grade to complete this activity" to true in one of the activities and false in the other.
      8. Create a third activity. Try setting "Restrict access condition" to "Completed with a pass/fail grade". Make sure you are allowed to select only activity that has "Student must receive a grade to complete this activity" set to True.
      Show
      Enable Completion tracking at the course level Try adding a quiz Make sure the "Require passing grade" setting is now dependent on "Student must receive a grade to complete this activity" setting. Repeat the test in description of this issue and make sure the user can now see the workshop module (since now both settings would be checked). Create two activities in a course or go to a course with at least two activities. Enable completion. Set "Student must receive a grade to complete this activity" to true in one of the activities and false in the other. Create a third activity. Try setting "Restrict access condition" to "Completed with a pass/fail grade". Make sure you are allowed to select only activity that has "Student must receive a grade to complete this activity" set to True.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-58196-master
    • Sprint:
      3.4 Sprint 3

      Description

      Hello,

      the restriction "must be complete with pass grade" doesn't work at all in any activities f.ex. Workshop

      1. Create a quiz with "Grade to pass" as 10.0 and "Show activity as complete when conditions are met" and "Require passing grade" and make some question.

      2. Create a worksop on the course and under "Restrict access" add restriction "activity completion" choose the quiz and select "must be complete with pass grade"

      3. Do the quiz with a student with grade 10,0

      4. Notice how you cannot access the Workshop

      If you change the restriction in Workshop to "must be marked complete" student can open the workshop

      This concerns Moodle 3.1.4

        Attachments

        1. 58196_issue.png
          111 kB
          Andrew Nicols
        2. Screen Shot 2017-07-24 at 1.41.17 pm.png
          26 kB
          John Okely

          Issue Links

            Activity

              People

              • Votes:
                15 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Sep/17