Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.3
    • Course
    • MOODLE_22_STABLE
    • MOODLE_23_STABLE
    • MDL-30616-master-7
    • Hide

      Testing Instructions

      Basic Functionality

      • Open a course;
      • turn editing on;
      • ensure that both the activities and resources dropdowns are shown; and
      • confirm that all expected modules appear in the lists.

      Disabling and re-enabling plugins

      • navigate to Settings -> Site Administration -> Plugins -> Activity modules;
      • disable the assignment plugin, another activity (e.g. Chat), and a resource (e.g. Page);
      • refresh the course page and confirm that the assignment activity and all subtypes have disappeared, and the other activity and resource you disabled; and
      • re-enable the plugins and refresh your course page to confirm that they're back.

      Correct Functionality

      • try clicking through to each plugin page in turn to ensure that the you are redirected to the module editing page for the correct plugins.
        This is particularly important for assignment subtypes.
      Show
      Testing Instructions Basic Functionality Open a course; turn editing on; ensure that both the activities and resources dropdowns are shown; and confirm that all expected modules appear in the lists. Disabling and re-enabling plugins navigate to Settings -> Site Administration -> Plugins -> Activity modules; disable the assignment plugin, another activity (e.g. Chat), and a resource (e.g. Page); refresh the course page and confirm that the assignment activity and all subtypes have disappeared, and the other activity and resource you disabled; and re-enable the plugins and refresh your course page to confirm that they're back. Correct Functionality try clicking through to each plugin page in turn to ensure that the you are redirected to the module editing page for the correct plugins. This is particularly important for assignment subtypes.

    Description

      In course/lib.php, the print_section_add_menus function does a lot of work to retrieve module metadata (e.g. name and a URL for creating a new instance of the module).

      To create the module chooser in the most efficient manner, we should split out the retrieval of this metadata into a separate function that other functions can use.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Sam Hemelryk Sam Hemelryk
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jason Fowler Jason Fowler
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Jun/12