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

Make module generator use add_moduleinfo

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-42400-master
    • Hide

      Run all automated tests

      Use the script (modify it as you want) https://gist.github.com/marinaglancy/7130493 to create a test course and generate modules in it. Make sure it's reasonable

      Using web-interface and web-services create gradeable and not gradeable modules (checking for regressions).

      Create course using tool_generator

      Show
      Run all automated tests Use the script (modify it as you want) https://gist.github.com/marinaglancy/7130493 to create a test course and generate modules in it. Make sure it's reasonable Using web-interface and web-services create gradeable and not gradeable modules (checking for regressions). Create course using tool_generator

      Function add_moduleinfo() was created after the module generators.

      Now module generators need to be changed to use it in order to:

      • Properly use API. At the moment there is a wrong sequence in creating module and adding it to the section which already resulted in course cache not being reset when it is supposed to so that assign generator is now hacked to explicitly clear course cache.
      • Allow generate modules with conditional availability and completion info
      • This will allow to add new module generators much easier

      Also in this issue added generators for modules: glossary, lesson, survey, url, wiki, workshop, created an issue (linked) for remaining modules

            marina Marina Glancy
            marina Marina Glancy
            Petr Skoda Petr Skoda
            Damyon Wiese Damyon Wiese
            Jason Fowler Jason Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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