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

Course form element does not respect 'onlywithcompletion' attribute.

    XMLWordPrintable

Details

    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-68315-master
    • Hide

      1. Make sure course completion is enabled on the site.
      2. Create 3 courses with following completion tracking settings:

      • Course 1 - completion tracking enabled
      • Course 2 - completion tracking enabled
      • Course 3 - completion tracking disabled

      3. In Course 1, navigate to "Edit" -> "Course completion", expand "Condition: Completion of other courses".
      4. Press on "Courses available" search dialog, observe that you can only see "Course 2" (but not "Course 3"
      5. Open Course 3 settings, enable completion tracking, save settings.
      6. In Course 1, navigate to "Edit" -> "Course completion", expand "Condition: Completion of other courses".
      7. Press on "Courses available" search dialog, observe that you can see "Course 2" and "Course 3".

      Show
      1. Make sure course completion is enabled on the site. 2. Create 3 courses with following completion tracking settings: Course 1 - completion tracking enabled Course 2 - completion tracking enabled Course 3 - completion tracking disabled 3. In Course 1, navigate to "Edit" -> "Course completion", expand "Condition: Completion of other courses". 4. Press on "Courses available" search dialog, observe that you can only see "Course 2" (but not "Course 3" 5. Open Course 3 settings, enable completion tracking, save settings. 6. In Course 1, navigate to "Edit" -> "Course completion", expand "Condition: Completion of other courses". 7. Press on "Courses available" search dialog, observe that you can see "Course 2" and "Course 3".

    Description

      Passing `onlywithcompletion` attribute does not seem limiting the list to only courses with completion enabled.

      This happens for example when add a course completion condition "completion of other courses" or when add a "completion course set" criteria to a badge.

      Attachments

        Issue Links

          Activity

            People

              kabalin Ruslan Kabalin
              kabalin Ruslan Kabalin
              Ferran Recio Ferran Recio
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Anna Carissa Sadia Anna Carissa Sadia
              Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h