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

32bit PHP and Windows unzip can not identify Thumbs.db

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Unit tests

    Description

      This is easy to reproduce in windows.

       
      There was 1 failure:
       
      1) zip_packer_testcase::test_list_files
      Failed asserting that false is true.
       
      C:\server\workspace\moodle24\lib\filestorage\tests\zip_packer_test.php:93
      C:\server\workspace\moodle24\lib\phpunit\classes\advanced_testcase.php:76
       
      To re-run:
       C:\server\workspace\moodle24\vendor\phpunit\phpunit\composer\bin\phpunit zip_pa
      cker_testcase lib\filestorage\tests\zip_packer_test.php
      

      The problem is that the Thumbs.db tries to create unsigned 32 bit integrer which is not possible in 32bit OS and any Windows.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Dan Poltawski Dan Poltawski
              Sam Hemelryk Sam Hemelryk
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13