Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34696 enrol improvements 2.4 META
  3. MDL-35843

Students should be notified about self enrolment expiration in advance

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      Hide

      I/ run phpunit tests
      II/ repeat the enrol_manual testing from last week for both enrol_manual and enrol_self - see MDL-28980


      1/ setup up a few courses with manually enrolled users with different expiration dates
      2/ set up expiration notification hour in enrol_manual settings and in course instances enable notification and set up thresholds
      3/ execute cron or enrol/manual/cli/sync.php script
      4/ verify mails and messages

      Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing:

      set_config('expirynotifylast', time()-(60*60*24), 'enrol_manual');


      1/ setup up a few courses with self enrolled users with different expiration dates
      2/ set up expiration notification hour in enrol_self settings and in course instances enable notification and set up thresholds
      3/ execute cron or enrol/self/cli/sync.php script
      4/ verify mails and messages

      Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing:

      set_config('expirynotifylast', time()-(60*60*24), 'enrol_self');

      Show
      I/ run phpunit tests II/ repeat the enrol_manual testing from last week for both enrol_manual and enrol_self - see MDL-28980 — 1/ setup up a few courses with manually enrolled users with different expiration dates 2/ set up expiration notification hour in enrol_manual settings and in course instances enable notification and set up thresholds 3/ execute cron or enrol/manual/cli/sync.php script 4/ verify mails and messages Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing: set_config('expirynotifylast', time()-(60*60*24), 'enrol_manual'); — 1/ setup up a few courses with self enrolled users with different expiration dates 2/ set up expiration notification hour in enrol_self settings and in course instances enable notification and set up thresholds 3/ execute cron or enrol/self/cli/sync.php script 4/ verify mails and messages Note: you may want to modify value of last execution flag instead of waiting the whole day, such as by executing: set_config('expirynotifylast', time()-(60*60*24), 'enrol_self');
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w43_MDL-35843_m42_expiryself

      Description

      This is similar to MDL-28980, I am going to refactor the code to make the expiry notifications a core feature.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Dan Poltawski
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12