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

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Course
    • Testing Instructions:
      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'
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-35768-master

      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

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Integrator:
              Dan Poltawski
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12