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

Consider the default site completion settings during activity creation

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-78530-master
    • Hide

      Main functionality covered by behat

       

      Manual testing to check 'Default completion tracking' setting deprecation

      New moodle site

      1. Create a new Moodle site based on the patch
      2. Log in as admin and navigate to Site administration > Advanced features
      3. Confirm there is no 'Default completion tracking' setting

      Upgraded moodle site

      1. Create a new Moodle site based on 4.2 version
      2. Log in as admin and navigate to Site administration > Advanced features
      3. Change 'Default completion tracking' setting to 'Do not indicate activity completion'
      4. Save changes
      5. Upgrade Moodle using the patch
      6. Log in as admin and navigate to Site administration > Advanced features
      7. Confirm there is no 'Default completion tracking' setting

      Checking the code

      Confirm no usages in code for 'Default completion tracking' string

      Confirm no usages in code for $CFG->completiondefault setting

       

      Show
      Main functionality covered by behat   Manual testing to check 'Default completion tracking' setting deprecation New moodle site Create a new Moodle site based on the patch Log in as admin and navigate to Site administration > Advanced features Confirm there is no 'Default completion tracking' setting Upgraded moodle site Create a new Moodle site based on 4.2 version Log in as admin and navigate to Site administration > Advanced features Change 'Default completion tracking' setting to 'Do not indicate activity completion' Save changes Upgrade Moodle using the patch Log in as admin and navigate to Site administration > Advanced features Confirm there is no 'Default completion tracking' setting Checking the code Confirm no usages in code for 'Default completion tracking' string Confirm no usages in code for $CFG->completiondefault setting  
    • 3
    • HQ 2023 Planning I3 Moppies

    Description

      The following tasks must be done too:

      • When creating a new activity, use course default completion if exists. Otherwise, use site default completion if exists ($course = $SITE). Otherwise default completion should be COMPLETION_TRACKING_NONE instead of COMPLETION_TRACKING_MANUAL
      • Restoring and importing courses will stay the same as the course default is backed up and restored.
      • We are getting rid of  "Default completion tracking" setting (in "Advanced features"). Moodle sites using 4.3 onwards could set site default completion up or not, but the system will always use the same logic to set default completion values.

      A new page called "Default completion settings"  should be added to Site administration > Courses > Default settings. This is a new page that contains the new default completion criteria settings for site level

      Attachments

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              sarjona Sara Arjona (@sarjona)
              Mikel Martín Corrales Mikel Martín Corrales
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 4 hours, 22 minutes
                  3d 4h 22m

                  Clockify

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