Loading...
 
Skip to main content

Batch upload failed if filename contain more than one "-" or "_"

Status
Closed
Subject
Batch upload failed if filename contain more than one "-" or "_"
Version
17.x
Category
  • Error
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Batch upload failed if filename contain more than one "-".

Test-03-3.jpg won’t work
Test-03_3.jpg won’t work
Test_03_3.jpg won’t work
Test-033.jpg will work
Test_033.jpg will work

They may be some other combination with non-alphanumeric char

( ! ) Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (2015-02-) at position 7 (-): Unexpected character' in lib/metadata/reconcile.php on line 663

( ! ) Exception: DateTime::__construct(): Failed to parse time string (2015-02-) at position 7 (-): Unexpected character in lib/metadata/reconcile.php on line 663

Image

Image

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6383
Created
Sunday 02 July, 2017 08:50:40 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 20 April, 2022 15:42:10 UTC


Show PHP error messages