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

Restrictions are inversed when selecting "Must not" and "All" or "Any"

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_34_STABLE

      Description

      We recently discovered this in our moodle 3.4.4 and even the master branch (nightly). When we put a restriction on an activity or a ressource, you can select that the student must or must not match the following conditions. When we choose "Must not" and select the match to "All", the string that is displayed in the course is the opposite. It tells us that the student must complete only "one of the following".

      The same happens with the match selection at "Any". Moodle will display that "all of the following conditions must be complete".

      This is problematic because the system does the opposite of what we want.

      I uploaded some screenshots to show the problem.

        Attachments

        1. restrict_all_1.png
          restrict_all_1.png
          49 kB
        2. restrict_all_2.png
          restrict_all_2.png
          21 kB
        3. restrict_all_3.png
          restrict_all_3.png
          55 kB
        4. restrict_all_4.png
          restrict_all_4.png
          24 kB

          Activity

            People

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

              Dates

              • Created:
                Updated: