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

Problem with "notifyall" field

XMLWordPrintable

    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-61811-master_enrol_manual_notifyall_not_updating
    • Hide

      Extra requirements to test the fix: a database client to access the enrol table, as the value of notifyall field isn't observable through the UI.

      1. Create a course. Take note of its course ID.
      2. Navigate to the settings page of the default manual enrolment instance.
      3. Set the 'Notify before enrolment expires' field to 'No' and save.
      4. Check the notifyall field in the enrol table is 0.

        SELECT enrol, expirynotify, notifyall
        FROM mdl_enrol
        WHERE courseid = [the course ID]
        

      5. Navigate back to the settings page of the default manual enrolment instance.
      6. Set the 'Notify before enrolment expires' field to 'Enroller only' and save.
      7. Check the notifyall field in the enrol table is still 0.
      8. Navigate back to the settings page of the default manual enrolment instance.
      9. Set the 'Notify before enrolment expires' field to 'Enroller and enrolled user' and save.
      10. Check the notifyall field in the enrol table is 1.
      Show
      Extra requirements to test the fix: a database client to access the enrol table, as the value of notifyall field isn't observable through the UI. Create a course. Take note of its course ID. Navigate to the settings page of the default manual enrolment instance. Set the 'Notify before enrolment expires' field to 'No' and save. Check the notifyall field in the enrol table is 0. SELECT enrol, expirynotify, notifyall FROM mdl_enrol WHERE courseid = [the course ID] Navigate back to the settings page of the default manual enrolment instance. Set the 'Notify before enrolment expires' field to 'Enroller only' and save. Check the notifyall field in the enrol table is still 0. Navigate back to the settings page of the default manual enrolment instance. Set the 'Notify before enrolment expires' field to 'Enroller and enrolled user' and save. Check the notifyall field in the enrol table is 1.
    • 3
    • Moppies Moodle 3.8 Sprint 1, Moppies Moodle 3.8 Sprint 2, Moppies Moodle 3.8 Sprint 3, Moppies Moodle 3.8 Sprint 4, Moppies Moodle 3.8 Sprint 5, Moppies Moodle 3.8 Sprint 6

      I had moodle general settings for manual enrollment settings plugin without notify about expired courses.
      I created new course with id=1. "Notifyall" field in "mdl_enrol" table, for manual enrolment (for this course), was set as 0 -this is OK
      I changed expiry notification in general settings for manual enrolment plugin - (notify user and enroller).
      "Notifyall" field for manual enrolment (for course with id=1) still is 0 (it's ok because I should also change settings for a given course)
      So I changed expiry notification in manual enrolment settings in course with id=1 (notify user and enroller).
      "Notifyall" field for manual enrolment (for course id=1) still is 0 - it isnt' ok.
      I can't change "notifyall" field from 0 to 1.
      If a create course (when general settings manual enrolment plugin was set as no notification) then later I cant change it for this course - field "notifyall" always stays 0

            vtos Vitaly Potenko
            derecz Derecz
            Jordi Pujol-Ahulló Jordi Pujol-Ahulló
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            13 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 44 minutes
                44m

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