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

Update q* plugins to use new pluginlib.php features

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      1. Visit a Site administration ► Plugins ► Plugins overview. Verify that all the plugin names and dependencies show up properly.

      2. Visit a Site administration ► Plugins ► Question types ► Manage question types. Verify that all the plugin names and dependencies show up properly.

      3. Visit a Site administration ► Plugins ► Question behaviours ► Manage question behaviours. Verify that all the plugin names and dependencies show up properly.

      4. Go to the question bank and add a question. Verify that the list of qtypes you can add shows up properly, and that the summary text for each one is displayed when you select it.

      5. Actually select one or more qtypes to all, and make sure the heading like "Adding a Short-answer question" shows up correctly. Verify that the help icon by the title goes to the right place.

      6. Similarly, but for editing an existing question.

      7. Go to Questions -> Export. Verify that the list of formats shows up correctly, and that the help icons are right.

      8. Go to Questions ->Import. Verify that the list of formats shows up correctly, and that the help icons are right.

      Show
      1. Visit a Site administration ► Plugins ► Plugins overview. Verify that all the plugin names and dependencies show up properly. 2. Visit a Site administration ► Plugins ► Question types ► Manage question types. Verify that all the plugin names and dependencies show up properly. 3. Visit a Site administration ► Plugins ► Question behaviours ► Manage question behaviours. Verify that all the plugin names and dependencies show up properly. 4. Go to the question bank and add a question. Verify that the list of qtypes you can add shows up properly, and that the summary text for each one is displayed when you select it. 5. Actually select one or more qtypes to all, and make sure the heading like "Adding a Short-answer question" shows up correctly. Verify that the help icon by the title goes to the right place. 6. Similarly, but for editing an existing question. 7. Go to Questions -> Export. Verify that the list of formats shows up correctly, and that the help icons are right. 8. Go to Questions ->Import. Verify that the list of formats shows up correctly, and that the help icons are right.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      For all the core plugins:

      • qbehaviour plugins should use version.php ->dependancies, instead of get_required_behaviours() method.
      • qformat plugins should have their name in the 'pluginname' string as is standard
      • qtype plugins should use version.php ->dependancies, instead of requires_qtypes() method.
      • qtype plugins should have their name in the 'pluginname' string as is standard

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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