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

rework file zipper debugging change from MDL-37429

XMLWordPrintable

      The function assertDebuggingCalled() only expects one debugging message, where as a function can eventually send out more messages. We need to add some support for that.
      Please fix lib/filestorage/tests/zip_packer_test.php around line 151 (look for TODO MDL-37429) with this issue.


      The patch includes change of file packer API, the archive functions now include a new parameter that specifies what to do when file is invalid or missing. The zip packer may also create empty zip archive and later add files to it. All the new functionality is tested by unit tests. At the same time all obsolete hacks for PHP 5.2 were removed.

            skodak Petr Skoda
            fred Frédéric Massart
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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