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

Add qbank_exporttoxml to core

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test scenario 1:

      • Login into the Moodle site as an administrator
      • Navigate to: Site administration > Plugins > Plugins overview
      • Confirm:
        • That the “Export to XML question bank feature” plugin appears under the "Question banks plugins" section

      Test scenario 2:

      • Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins
      • Confirm:
        • That the Manage question banks page appears
        • That the plugin "Export to XML question bank feature" exists.

      Test scenario 3:

      • Create a Course
      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Create a new question using any question type.
      • Confirm:
        • That the Export to xml action is visible.

      Test scenario 4:

      • Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins
      • Disable the plugin by clicking the eye icon.
      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Confirm:
        • That the Export to xml action is not visible.

      Test scenario 5:

      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Find the created question.
      • Click the Cog to see the list of actions.
      • Select Export to xml.
      • Confirm:
        • The download window pops up to download the XML file.
      • Select Download to get the file.
      • Confirm:
        • That the downloads folder in the Downloads directory in the local machine.
      Show
      Test scenario 1: Login into the Moodle site as an administrator Navigate to: Site administration > Plugins > Plugins overview Confirm: That the “Export to XML question bank feature” plugin appears under the "Question banks plugins" section Test scenario 2: Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins Confirm: That the Manage question banks page appears That the plugin "Export to XML question bank feature" exists. Test scenario 3: Create a Course Navigate to the created course: Actions menu (Gear icon) > Question banks Create a new question using any question type. Confirm: That the Export to xml action is visible. Test scenario 4: Navigate to: Site administration > Plugins > Question bank plugins > Manage question bank plugins Disable the plugin by clicking the eye icon. Navigate to the created course: Actions menu (Gear icon) > Question banks Confirm : That the Export to xml action is not visible. Test scenario 5: Navigate to the created course: Actions menu (Gear icon) > Question banks Find the created question. Click the Cog to see the list of actions. Select Export to xml. Confirm: The download window pops up to download the XML file. Select Download to get the file. Confirm: That the downloads folder in the Downloads directory in the local machine.
    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
      master_MDL-71639-exporttoxml

      Description

      This implementation will introduce a qbank plugin "exporttoxml"
      which will implement the export to xml action in the question
      bank view by replacing the core class. Having this plugin will
      give users the flexibility of enabling or disabling this action.

        Attachments

        1. MDL-71639_Scenario 1.png
          MDL-71639_Scenario 1.png
          85 kB
        2. MDL-71639_Scenario 2.png
          MDL-71639_Scenario 2.png
          98 kB
        3. MDL-71639_Scenario 3.png
          MDL-71639_Scenario 3.png
          129 kB
        4. MDL-71639_Scenario 4.png
          MDL-71639_Scenario 4.png
          131 kB
        5. MDL-71639_Scenario 5_1.png
          MDL-71639_Scenario 5_1.png
          82 kB
        6. MDL-71639_Scenario 5_2.png
          MDL-71639_Scenario 5_2.png
          31 kB
        7. MDL-71639_Scenario 5_3.png
          MDL-71639_Scenario 5_3.png
          79 kB

          Issue Links

            Activity

              People

              Assignee:
              safats Safat Shahin
              Reporter:
              mattp@catalyst-au.net Matt Porritt
              Peer reviewer:
              Tim Hunt Tim Hunt
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              Angelia Dela Cruz Angelia Dela Cruz
              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:
              6 Start watching this issue

                Dates

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

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 55 minutes
                  2h 55m