Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-30616-master-7

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12