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

Updated xmlize causing behat failure on mysql

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      A) This issue changes:

      1. # Revert 5ac89967684d232888863f1892e1e53a5d7c362d
      2. Run:

        vendor/bin/phpunit lib/tests/xmlize_test.php

        and confirm failure.

      3. checkout master and run the above test again and confirm a pass.

      B) Replay MDL-38829 testing instructions:

      1. Go to the question bank for a course.
      2. Create some questions containing large images.
      3. Go to Question bank -> Export, and export the questions in Moodle XML format.
      4. Verify that the export file size if more than 10MB. If not, create more questions, or add more images.
      5. In another course, go to Question bank -> Import, and import the file.
      6. Verify that the import succeeds and that the imported questions are an accurate copy.
      Show
      A) This issue changes: # Revert 5ac89967684d232888863f1892e1e53a5d7c362d Run: vendor/bin/phpunit lib/tests/xmlize_test.php and confirm failure. checkout master and run the above test again and confirm a pass. B) Replay MDL-38829 testing instructions: Go to the question bank for a course. Create some questions containing large images. Go to Question bank -> Export, and export the questions in Moodle XML format. Verify that the export file size if more than 10MB. If not, create more questions, or add more images. In another course, go to Question bank -> Import, and import the file. Verify that the import succeeds and that the imported questions are an accurate copy.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61619-master

      Description

      Regression from MDL-38829 - picked up in behat/mysql on the import_export.feature.

      Will add these test files to the serialized versions we check during phpunit, so we should be able to get this fix up shortly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jaked Jake Dallimore
                Reporter:
                jaked Jake Dallimore
                Peer reviewer:
                Andrew Nicols
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Ryan Wyllie
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m