[TYPO3-dam-devel] RFC Bugfix: 6724: index check always states "File changed" or file missing

Andreas Balzer andreasbalzer at gmail.com
Thu Dec 27 19:46:50 CET 2007


+1

On Dec 27, 2007 7:31 PM, Michiel Roos <michiel at netcreators.com> wrote:

> 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
>
> --
> Netcreators BV :: creation and innovation
> www.netcreators.com
>
> Interesse in werken bij Netcreators?
> http://www.netcreators.com/bedrijf/vacatures/
>
>
>
> --- 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';
>
> _______________________________________________
> TYPO3-team-dam mailing list
> TYPO3-team-dam at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-dam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20071227/f90c773e/attachment.htm 


More information about the TYPO3-team-dam mailing list