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

webservice: Create course doesn't initialise all course section records

XMLWordPrintable

    • Any
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • Hide

      Visit the new course then call via web service core_course_get_contents.

      Show
      Visit the new course then call via web service core_course_get_contents.
    • Easy
    • Hide
      • Create a course via web service core_course_create_courses
      • Get course content via web service core_course_get_contents to verify there is more than one section created by default

      OR

      • Ensure all course sections are created for the new course without viewing the course

      OR

      • "test_create_course_numsections" unit test passes.
      Show
      Create a course via web service core_course_create_courses Get course content via web service core_course_get_contents to verify there is more than one section created by default OR Ensure all course sections are created for the new course without viewing the course OR "test_create_course_numsections" unit test passes.

      When Core Web Service create courses is called (core_course_create_courses), the courses are created but you can't get a list of the course section when using get course content (core_course_get_contents).

       

      This item mimics the behaviour when viewing the course where it checks to see if all course sections exist in the database.

            tlock Tim Lock
            tlock Tim Lock
            Juan Leyva Juan Leyva
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Marina Glancy Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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