Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26385 fix enrol/imsenterprise
  3. MDL-29290

CLONE - Moodle 2+ Courses created via IMS Enterprise are not getting the default course format (fix inside)

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.2
    • Fix Version/s: 2.2
    • Component/s: Course
    • Labels:
      None
    • Environment:
      Moodle 2.1
      PHP 5.2; MySQL 5; Apache2
    • Database:
      Any
    • Testing Instructions:
      Hide

      Set course default setting to required parameters, eg. 12 weeks, 20MB upload.
      Use the attached sample moodle_IMS_course_create.xml file to generate three new courses.
      Go to any of these, note the settings do not reflect the system defaults.
      patch /enrol/imsenterprise/lib.php with IMSUpdate21_1.patch
      Delete the created courses.
      Rerun the IMS enterprise load, note courses are now configured with system course defaults.

      Show
      Set course default setting to required parameters, eg. 12 weeks, 20MB upload. Use the attached sample moodle_IMS_course_create.xml file to generate three new courses. Go to any of these, note the settings do not reflect the system defaults. patch /enrol/imsenterprise/lib.php with IMSUpdate21_1.patch Delete the created courses. Rerun the IMS enterprise load, note courses are now configured with system course defaults.
    • Workaround:
      Hide

      Spend your life reconfiguring every new course...

      Show
      Spend your life reconfiguring every new course...
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      master_MDL-29290

      Description

      Courses created via IMS Enterprise are not getting the default course format, they're being created with the default of topic-format, one topic, 0 bytes upload and ignoring settings in http://moodle.myserver.ca/admin/settings.php?section=coursesettings

      By using the IMSUpdate21_1.patch the IMS Enterprise plugin will recognise the system course defaults

        Attachments

        1. Course default settings.jpg
          112 kB
          Adam Barbary
        2. Course Settings after load.jpg
          82 kB
          Adam Barbary
        3. IMSupdate21_1.patch
          2 kB
          Adam Barbary
        4. moodle_IMS_course_create.xml
          1.0 kB
          Adam Barbary

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/11