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

Implement course content download setting in bulk course upload

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-69816-311
    • Hide

      Upload new courses with field

      1. Login as admin
      2. Navigate to Courses > Download course content from site administration
      3. Enable Download course content feature available
      4. Navigate to Courses > Upload courses in site administration
      5. Upload MDL-69816.csv and press Preview
      6. Press Upload courses
      7. Confirm new courses were created with expected downloadcontent field:

        SELECT fullname, shortname, downloadcontent FROM moodle.m_course WHERE id > 1;
        

        fullname shortname downloadcontent
        Course one C101 0
        Course two C102 1
        Course three C103 2

      Updating courses with default field

      1. Navigate to Courses > Upload courses in site administration
      2. Upload MDL-69816-2.csv
      3. Set Upload mode to Only update existing courses
      4. Set Update mode to Update with CSV data and defaults
      5. Press Preview
      6. Under Default course values set Enable download course content to Yes
      7. Press Upload courses
      8. Confirm courses were updated with expected downloadcontent field:

        SELECT fullname, shortname, downloadcontent FROM moodle.m_course WHERE id > 1;
        

        fullname shortname downloadcontent
        Course one C101 1
        Course two C102 1
        Course three C103 1
      Show
      Upload new courses with field Login as admin Navigate to Courses > Download course content from site administration Enable Download course content feature available Navigate to Courses > Upload courses in site administration Upload MDL-69816.csv and press Preview Press Upload courses Confirm new courses were created with expected downloadcontent field: SELECT fullname, shortname, downloadcontent FROM moodle.m_course WHERE id > 1; fullname shortname downloadcontent Course one C101 0 Course two C102 1 Course three C103 2 Updating courses with default field Navigate to Courses > Upload courses in site administration Upload MDL-69816-2.csv Set Upload mode to Only update existing courses Set Update mode to Update with CSV data and defaults Press Preview Under Default course values set Enable download course content to Yes Press Upload courses Confirm courses were updated with expected downloadcontent field: SELECT fullname, shortname, downloadcontent FROM moodle.m_course WHERE id > 1; fullname shortname downloadcontent Course one C101 1 Course two C102 1 Course three C103 1

    Description

      Course bulk upload should allow setting whether course content download is enabled or disabled on the course.

      This is blocked by MDL-69559, as the final course setting needs to be finalised before it can be implemented in bulk upload.

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              michaelh Michael Hawkins
              Simey Lameze Simey Lameze
              Victor Déniz Falcón Victor Déniz Falcón
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/21

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 21 minutes
                  4h 21m