[TYPO3-dam-devel] RFC Bugfix: 6724: index check always states "File changed" or file missing
Peter Kühn
peter.kuehn at wmdb.de
Sat Dec 29 13:33:20 CET 2007
+1
Michiel Roos schrieb:
> Hi,
>
> This is a svn patch request.
>
> Type: bugfix
>
>
> Problem:
> If I check the index via the Media Tool module (date: any, mark missing
> files as deleted) I get file missing for files that are missing (those
> are right or related to wrong character (T3 utf-8 & iso filename) but
> for all other files I don't get something like file unchanged but T3
> states that every file has changed. If I recheck the index I get "File
> changed" for every single file. However: Files have _not_ changed.
>
> Cause:
> somehow file_mtime is missing from lib/class.tx_dam_db.php ->
> getMetaInfoFieldList()
>
> Branches:
> trunk
> 1-0
>
> Kind regards,
>
>
> Michiel Ros
>
>
> ------------------------------------------------------------------------
>
> --- lib/class.tx_dam_db.php 2007-12-25 05:36:32.000000000 -0500
> +++ lib/class.tx_dam_db.fix.php 2007-12-25 05:36:28.000000000 -0500
> @@ -1183,6 +1183,7 @@
> $infoFields['file_size'] = 'file_size';
> $infoFields['file_type'] = 'file_type';
> $infoFields['file_ctime'] = 'file_ctime';
> + $infoFields['file_mtime'] = 'file_mtime';
> $infoFields['file_hash'] = 'file_hash';
> $infoFields['file_mime_type'] = 'file_mime_type';
> $infoFields['file_mime_subtype'] = 'file_mime_subtype';
More information about the TYPO3-team-dam
mailing list