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

Courses made via course request or tool_uploadcourse do not respect default course sections

    XMLWordPrintable

Details

    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_33_STABLE
    • wip-MDL-59262-master-2
    • Hide

      Test 1:

      1. Enable course requests
      2. Create a role with capability to request courses, assign it in system or category context to a user
      3. Login as this user and request a course
      4. Login as manager/admin and approve the course
      5. Make sure that course is created with sections

      Test 2:

      1. Use attached CSV file to upload a course
      2. Create the course and make sure it is created with the sections
      3. Delete the course
      4. Upload the course using CLI script and make sure it is created with sections:

      php admin/tool/uploadcourse/cli/uploadcourse.php --mode=createnew --file=PATHTOFILE

      Show
      Test 1: Enable course requests Create a role with capability to request courses, assign it in system or category context to a user Login as this user and request a course Login as manager/admin and approve the course Make sure that course is created with sections Test 2: Use attached CSV file to upload a course Create the course and make sure it is created with the sections Delete the course Upload the course using CLI script and make sure it is created with sections: php admin/tool/uploadcourse/cli/uploadcourse.php --mode=createnew --file=PATHTOFILE
    • 3.4 Sprint 2

    Description

      (As noticed when testing Learn Moodle and reproduced on demo.moodle.net)

      • Check your course default settings have, for example, three sections by default
      • As admin, create a new course. Note that is has three sections
      • Enable course request. Request a course and approve it
      • The new course has no sections

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marycooch Mary Cooch
              John Okely John Okely
              Dan Poltawski Dan Poltawski
              Damyon Wiese Damyon Wiese
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Sep/17