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

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      wip-MDL-59262-master-2
    • Sprint:
      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

              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Sep/17