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

Setting manual enrolment default duration over 1 year is reset in the enrolment forms

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_30_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MDL-48248-master
    • Easy
    • Hide
      1. Configure the manual enrolment method in a course, and set its duration to anything greater than 365 days. (example, 500 days)
      2. Go to "Course administration > Enrolled users" and click the "Enrol users" button
      3. Confirm that the Enrolment duration matches the default value set at step 1
      4. Enrol a user, and confirm that the user is enrolled for the expected number of days
      5. Navigate to "Course administration > Enrolment methods" and click on the icon "Enrol users" on the same line as "Manual enrolment"
      6. Confirm that the form displays the right default value for Enrolment duration
      7. Enrol a user, and confirm that the user is enrolled for the expected number of days
      8. Repeat with values that do not equate to an integer number of days, e.g. 31 hours, 2000 minutes, ...
      9. Repeat without any default duration, in which case "Unlimited" should be the default
      Show
      Configure the manual enrolment method in a course, and set its duration to anything greater than 365 days. (example, 500 days) Go to "Course administration > Enrolled users" and click the "Enrol users" button Confirm that the Enrolment duration matches the default value set at step 1 Enrol a user, and confirm that the user is enrolled for the expected number of days Navigate to "Course administration > Enrolment methods" and click on the icon "Enrol users" on the same line as "Manual enrolment" Confirm that the form displays the right default value for Enrolment duration Enrol a user, and confirm that the user is enrolled for the expected number of days Repeat with values that do not equate to an integer number of days, e.g. 31 hours, 2000 minutes, ... Repeat without any default duration, in which case "Unlimited" should be the default
    • 3.2 Sprint 1

      Expiry date of enrolment not showing up when manual enrolment is set to long terms (eg, 3 years)

      1. In course administration: Users > Enrolment methods > manual enrolments
      2. Enrolment duration enabled and set to 156 weeks (3 years)
      3. Users then enrolled via Users> Enrolled users and pop up box.
      4. No expiry date shown on list of enrolled users, had to be manually changed for each user.
      5. Same result when enrolled via Users > Enrolment methods > manual enrolments and enrol users icon used.
      6. Same result when enrolment period set to 1095 days (3 years)
      7. No issue when shorter time frames (2-3 days or weeks)

        1. enrolduration1.png
          enrolduration1.png
          27 kB
        2. enrolduration2.png
          enrolduration2.png
          20 kB
        3. enrolduration3.png
          enrolduration3.png
          17 kB
        4. enrolduration4.png
          enrolduration4.png
          38 kB
        5. js_help.patch
          1.0 kB
        6. MDL-48248-partialfix.patch
          2 kB

            fred Frédéric Massart
            magratj Meg James
            cameron1729 cameron1729
            David Monllaó David Monllaó
            Marina Glancy Marina Glancy
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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