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

Add qbank_importquestions to core

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Questions, Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Login into the Moodle site as an administrator
      2. Navigate to: Site administration > Plugins > Plugins overview
      3. Confirm:
        That the “Import question bank” plugin appears under "Question banks" section
        See screenshot: Plugin overview.png
      4. Navigate to: Site administration > Plugins
      5. Confirm:
        That the “Question banks” plugin section appears
        See screenshot: Question bank admin setting.png
      6. Navigate to: Site administration > Plugins > Question banks > Manage question banks
      7. Confirm:
        That the Manage question banks page appears
        That the plugin "Import question bank" exists.
        See screenshot: Managequestionbanks.png
      8. Create a Course > Create a Quiz
      9. Navigate to created Quiz : Actions menu (Gear icon) > Question bank
      10. Create three questions (any type)
      11. Navigate to: "Export" tab
      12. Choose the Moodle XML file type
      13. choose "Export category" from which the questions are to be exported
      14. click "Export questions to file"
        ?? file download should start??
        See screenshot: Question bank tabs.png
      15. Navigate to: "Import" tab
        Choose same file format you picked above, choose file you just downloaded > Click import
        See screenshot: Question bank tabs.png
      16. Navigate to: "Questions" tab
        Make sure the imported questions match the exported ones
        See screenshot: Question bank tabs.png
      17. Navigate to: Site administration > Plugins > Question banks > Manage question banks
        Disable plugin import questions
      18. Navigate to created Quiz : Actions menu (Gear icon)
        Confim you see no "Import" link under the "Question bank" actions menu
        See screenshot: Actions menu links.png
      19. Navigate to created Quiz : Actions menu (Gear icon) > Question banks
        Confirm you see no import tab
        See screenshot: Question bank tabs.png
      Show
      Login into the Moodle site as an administrator Navigate to: Site administration > Plugins > Plugins overview Confirm: That the “Import question bank” plugin appears under "Question banks" section See screenshot: Plugin overview.png Navigate to: Site administration > Plugins Confirm: That the “Question banks” plugin section appears See screenshot: Question bank admin setting.png Navigate to: Site administration > Plugins > Question banks > Manage question banks Confirm: That the Manage question banks page appears That the plugin "Import question bank" exists. See screenshot: Managequestionbanks.png Create a Course > Create a Quiz Navigate to created Quiz : Actions menu (Gear icon) > Question bank Create three questions (any type) Navigate to: "Export" tab Choose the Moodle XML file type choose "Export category" from which the questions are to be exported click "Export questions to file" ?? file download should start?? See screenshot: Question bank tabs.png Navigate to: "Import" tab Choose same file format you picked above, choose file you just downloaded > Click import See screenshot: Question bank tabs.png Navigate to: "Questions" tab Make sure the imported questions match the exported ones See screenshot: Question bank tabs.png Navigate to: Site administration > Plugins > Question banks > Manage question banks Disable plugin import questions Navigate to created Quiz : Actions menu (Gear icon) Confim you see no "Import" link under the "Question bank" actions menu See screenshot: Actions menu links.png Navigate to created Quiz : Actions menu (Gear icon) > Question banks Confirm you see no import tab See screenshot: Question bank tabs.png
    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      master_MDL-71608-importquestions

      Description

      This implementation will introduce a qbank plugin "importquestions"
      which will allow user to import a bank of questions in the question bank view
      by replacing the core class. Having this plugin will give users
      the flexibility of enabling or disabling the question import
      in the question bank view.

        Attachments

        1. Actions menu links.png
          34 kB
          Marc-Alexandre GHALY
        2. Managequestionbanks.png
          4 kB
          Marc-Alexandre GHALY
        3. MDL-71608_Test Passed.png
          203 kB
          Gladys Basiana
        4. Plugin overview.png
          12 kB
          Marc-Alexandre GHALY
        5. Question bank admin setting.png
          8 kB
          Marc-Alexandre GHALY
        6. Question bank tabs.png
          10 kB
          Marc-Alexandre GHALY

          Issue Links

            Activity

              People

              Assignee:
              safats Safat Shahin
              Reporter:
              marcalexandreghaly Marc-Alexandre GHALY
              Peer reviewer:
              Tim Hunt Tim Hunt
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Dec/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m