This repository has been archived by the owner on May 3, 2021. It is now read-only.
[bug] Import of Pictures with DateTime 0000:00:00 fails #136
Labels
bug
Something isn't working
Lychee-Laravel (version 4)
This will be implemented in the Laravel version (Lychee 4).
Milestone
Somehow i ended up with some pictures with a timestamp of 0000:00:00. Those images apparently can't be uploaded to lychee because column takestamp is set to dtype int. For a quick fix, i changed dtype in mysql db to bigint, but for longterm fix i guess parsing of the dates has to be changed.
Detailed description of the problem
Importing pictures with DateTime set to "0000:00:00 0000:00:00" in Exif tags fails because
MySQL db column for "takestamp" is set to int(11)
Steps to reproduce the issue
Upload Image with 0000:00:00 0000:00:00 in Exif tag
Output of the diagnostics (Settings => Diagnostics)
Error Code: 1264. Out of range value for column 'takestamp' at row 1
The text was updated successfully, but these errors were encountered: