Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35218 META: Course formats refactoring for 2.4
  3. MDL-35768

Add table course_format_options, allow format to store settings there

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.4
    • Course
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • wip-MDL-35768-master
    • Hide

      And this is again an issue that make no changes to the current behaviour

      1. Apply hack (see comments)
      2. Create course, fill format options with not-default values, add sections, fill additional fields
      3. Test backup/restore of the course, make sure all format-specific options (for both course and section) are restored
      4. Test creating courses through 'enrol'
      Show
      And this is again an issue that make no changes to the current behaviour Apply hack (see comments) Create course, fill format options with not-default values, add sections, fill additional fields Test backup/restore of the course, make sure all format-specific options (for both course and section) are restored Test creating courses through 'enrol'

    Description

      • change course.format from varchar(10) to varchar(21)
      • add table course_format_options that will store format-specific options for the whole course and for specific secions (fields: id, courseid, format, sectionid[optional], name, value)
      • support backup/restore of format-specific options

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Dan Poltawski Dan Poltawski
              Jason Fowler Jason Fowler
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12