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

Upgrade PHPSpreadSheet to 4.1.0

XMLWordPrintable

    • MOODLE_405_STABLE
    • MOODLE_500_STABLE
    • MDL-81664-main
    • Hide

      Testing instructions copied from MDL-71720.

      Verify lib version

      1. Access to "Site administration / Development / Third party libraries".
      2. Verify third-party lib versions for PHPSpreadsheet is 4.1.0.

      Testing scenario 1

      1. Login as admin
      2. Go to http://yourmoodleurl/lib/tests/other/spreadsheettestpage.php and generate the Excel and ODS sample files.
      3. Review the server error logs to make sure there are no notices there.
      4. Open the Excel and ODS sample files in various office suites.
      5. Expected Result: Check the content is displayed as expected (Font colours, headings etc.). You can download the ODS file and compare it with or download the Excel file without that patch. Alternatively, you can also compare to the [^moodletest_withoutpatch.ods] attached file (which was created without the patch).

      Testing scenario 2

      1. Login as admin.
      2. Create a course with some enrolled students and one graded activity for some of them (at least).
      3. Access to the course.
      4. Go to Grades / Export / Excel spreadsheet
      5. Click over the Download button
      6. Expected Result: Check the file is downloaded and contains one row per user and, at least, the following columns:  "First name", "Surname", "ID number", "Institution", "Department", "Email address", "Course total", "Last downloaded from this course" and one column for each activity.
      Show
      Testing instructions copied from MDL-71720 . Verify lib version Access to "Site administration / Development / Third party libraries". Verify third-party lib versions for PHPSpreadsheet is 4.1.0. Testing scenario 1 Login as admin Go to  http://yourmoodleurl/lib/tests/other/spreadsheettestpage.php and generate the Excel and ODS sample files. Review the server error logs to make sure there are no notices there. Open the Excel and ODS sample files in various office suites. Expected Result: Check the content is displayed as expected (Font colours, headings etc.). You can download the ODS file and compare it with or download the Excel file without that patch. Alternatively, you can also compare to the [^moodletest_withoutpatch.ods]  attached file (which was created without the patch). Testing scenario 2 Login as admin. Create a course with some enrolled students and one graded activity for some of them (at least). Access to the course. Go to Grades / Export / Excel spreadsheet Click over the Download button Expected Result:  Check the file is downloaded and contains one row per user and, at least, the following columns:  "First name", "Surname", "ID number", "Institution", "Department", "Email address", "Course total", "Last downloaded from this course" and one column for each activity.
    • Hide

      Code verified against automated checks.

      Checked MDL-81664 using repository: https://github.com/andrewnicols/moodle.git

      More information about this report

      Built on: Tue Mar 4 05:47:35 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-81664 using repository: https://github.com/andrewnicols/moodle.git main (0 errors / 0 warnings) [branch: MDL-81664-main | CI Job ] More information about this report Built on: Tue Mar 4 05:47:35 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-81664 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18386/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62975/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62976/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62977/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62978/ App tests (stable app version) Built on: Fri Feb 28 14:25:17 UTC 2025
    • 3
    • Team Alpha - Planning I4-2024

      PhpSpreadsheet lib/phpspreadsheet/ 1.29.0 --> 4.0.0 https://github.com/PHPOffice/PhpSpreadsheet

            dobedobedoh Andrew Lyons
            sarjona Sara Arjona (@sarjona)
            Raquel Ortega Raquel Ortega
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour, 59 minutes
                2d 1h 59m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.