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

Upload Courses: Unable to set enrolment enddate as disabled

XMLWordPrintable

    • MOODLE_403_STABLE, MOODLE_404_STABLE, MOODLE_405_STABLE

      This is indirectly related to a test case that occurred in https://tracker.moodle.org/browse/MDL-78990

      I'm not sure if this should be logged as an improvement rather than a bug.

      When you don't want to set an end date for self enrolment, it instead uploads with the same date as defined in startdate.

       

      Replication:

      1. Assuming you are using sandbox.moodledemo.net, go to site admin -> Courses -> manage courses and categories
      2. Create a new category and note the ID of it (Typically will be '2')
      3. Go to site admin -> Courses -> Upload Courses
      4. Use the following CSV in a file
        1. shortname,fullname,category,enrolment_1,enrolment_1_name,enrolment_1_role,enrolment_1_startdate,enrolment_1_enddate
          uploadtest28,uploadtest28,2,self,Student Self Enrol,student,1/30/2024,0

      1. Upload the course, navigate to it, then view the settings for the new enrolment method created.

       

      Observed: The end date is not disabled and has the same date as the start date

      Expected: The end date should be disabled

            Unassigned Unassigned
            samual.preiss Samual Preiss
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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