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

End date is not correct for manual enrolments

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_34_STABLE
    • MDL-61249-master
    • Hide

      Set up

      1. Login as admin or teacher.
      2. Configure a course and remove the end date.

      Testing scenario 1

      1. Go to the Participants page.
      2. Manually enrol a user in a course using the Enrol users button.
      3. Search for a user to enrol, set the duration to 180 days and save.
      4. Access to the "Enrolment details" of the enrolled user (by clicking the  icon).
        • CHECK the end date is 180 days from now.

      Testing scenario 2

      1. Go to the Participants page.
      2. Access to Manual enrolments configuration page, enable "Default enrolment duration" and set to 100 days.
      3. Return to Participants page.
      4. Manually enrol a user in a course using the Enrol users button.
      5. Search for a user to enrol and save.
      6. Access to the "Enrolment details" of the enrolled user (by clicking the  icon).
        • CHECK the end date is 100 days from now.
      Show
      Set up Login as admin or teacher. Configure a course and remove the end date. Testing scenario 1 Go to the Participants page. Manually enrol a user in a course using the Enrol users button. Search for a user to enrol, set the duration to 180 days and save. Access to the "Enrolment details" of the enrolled user (by clicking the  icon). CHECK the end date is 180 days from now. Testing scenario 2 Go to the Participants page. Access to Manual enrolments configuration page, enable "Default enrolment duration" and set to 100 days. Return to Participants page. Manually enrol a user in a course using the  Enrol users  button. Search for a user to enrol and save. Access to the "Enrolment details" of the enrolled user (by clicking the   icon). CHECK the end date is 100 days from now.

    Description

      When a user is manually enrolled in a course and the course has no end date and the user is supposed to expire in a certain number of days, the year is not set right for the end date.  The end date is 1900.

      Attachments

        1. Confirmed Scenario1.PNG
          19 kB
          Gladys Basiana
        2. Confirmed Scenario2.PNG
          17 kB
          Gladys Basiana
        3. Scenario1_Setting.PNG
          4 kB
          Gladys Basiana
        4. Scenario2_Setting.PNG
          4 kB
          Gladys Basiana
        5. Screen Shot 2018-02-26 at 10.35.27 am.png
          40 kB
          Mark Nelson
        6. Screenshot from 2022-04-08 15-02-00.png
          45 kB
          Нурбек Хуанш
        7. Screenshot from 2022-04-08 15-03-59.png
          44 kB
          Нурбек Хуанш
        8. Screenshot from 2022-04-08 15-04-19.png
          43 kB
          Нурбек Хуанш

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              jeffsibi Jeff Rader
              Mark Nelson Mark Nelson
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Gladys Basiana Gladys Basiana
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Mar/18

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h