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

Can't remove course prerequisites

    Details

    • Testing Instructions:
      Hide

      Create 3 courses with completion enabled, enable "self completion" via completion settings for each.

      Go to one of the courses, select both other courses in the "course prerequisites" select box in completion settings, save.

      Revisit the form, deselect both courses and save.

      Before fix:
      The change would not have been saved.

      After fix:
      Changes would be saved, no prerequisites would be selected.
      "Select none" checkbox also exists for same purpose.

      Show
      Create 3 courses with completion enabled, enable "self completion" via completion settings for each. Go to one of the courses, select both other courses in the "course prerequisites" select box in completion settings, save. Revisit the form, deselect both courses and save. Before fix: The change would not have been saved. After fix: Changes would be saved, no prerequisites would be selected. "Select none" checkbox also exists for same purpose.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When editing course completion settings, one can chose one or several courses as "course prerequisites". If one makes a mistake, one can modify the chosen elements (courses) in this "select multiple" HTML element. However, if one wants to remove all selection (i.e. not chose any course as prerequisite anymore), the choice is not saved. The application acts as if not receiving any input from this part of the form.

      It is therefore not possible to remove all course prerequisites after having chosen one (or several) in the first place.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  22 Vote for this issue
                  Watchers:
                  24 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    1/Jul/11