Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001974Piwigometadatapublic2010.10.30 22:072010.10.30 22:22
Reporterplg 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.1.3 
Target Version2.1.4Fixed in Version2.1.4 
Summary0001974: don't generate invalid creation date from IPTC
DescriptionOn old photo, users sometimes set the date with only the year and it produces something like "19290000" as the creation date. Piwigo doesn't check and inserts 1929-00-00 in the images.date_creation field, and once it is parsed on picture.php, it produces errors.

We should insert a valid date in the database instead.
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0004421)
svn (reporter)
2010.10.30 22:14

[Subversion] r7506 by plg on branch 2.1

-----[Subversion commit log]----------------------------------------------------
bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.
(0004422)
svn (reporter)
2010.10.30 22:22

[Subversion] r7507 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r7506 from branch 2.1 to trunk

bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.


- Issue History
Date Modified Username Field Change
2010.10.30 22:07 plg New Issue
2010.10.30 22:07 plg Status new => assigned
2010.10.30 22:07 plg Assigned To => plg
2010.10.30 22:07 plg browser => any
2010.10.30 22:07 plg Web server => Apache 1.3.x
2010.10.30 22:14 svn Checkin
2010.10.30 22:14 svn Note Added: 0004421
2010.10.30 22:22 svn Checkin
2010.10.30 22:22 svn Note Added: 0004422
2010.10.30 22:22 plg Status assigned => closed
2010.10.30 22:22 plg Resolution open => fixed
2010.10.30 22:22 plg Fixed in Version => 2.1.4


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker