Loading...
 
Skip to main content

strange behaviour with multiple zip uploads containing files with similar filenames

Status
Closed
Subject
strange behaviour with multiple zip uploads containing files with similar filenames
Version
4.x
6.x
Category
  • Error
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fixed or Solved
Submitted by
edwinbennink
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

This example shows that something goes wrong when zipped files with the same name (but different content) are uploaded and unzipped by Tikiwiki.

1.) Create a test.txt file with some content and zip it to test.zip.
2.) Upload this file to a Tikiwiki File Gallery and choose to unzip it.
3.) Create another test.txt file with different content and zip it again to test.zip.
4.) Upload this file to a Tikiwiki File Gallery and choose to unzip it.
5.) Now there are two test.txt files in the gallery; now DELETE the first one.
6.) If you now try to download the second one, a blank page will be shown; it seems that the php code reaches a 'die' because the file could not be found!

Solution
Workaround
Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3804
Created
Thursday 24 February, 2011 14:16:43 UTC
by edwinbennink
LastModif
Tuesday 30 June, 2026 15:50:29 UTC


Show PHP error messages