[BUFGIX] Add modification time to processedfile checksum 30/36530/4
authorruud <ruudsilvrants@gmail.com>
Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)
committerMathias Schreiber <mathias.schreiber@wmdb.de>
Sat, 14 Feb 2015 10:22:50 +0000 (11:22 +0100)
Added modification time to processed file checksum so the filename of
the processed files changes when the original is replaced.

Resolves: #44645
Releases: master, 6.2
Change-Id: I12bf445ee2a75a9a69b3d8e9603ae5035028a195
Reviewed-on: http://review.typo3.org/36530
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Philipp Thiele <philipp.thiele@phth.de>
Tested-by: Philipp Thiele <philipp.thiele@phth.de>
Tested-by: Andrea Herzog-Kienast <a.herzog@kienastdv.de>
Reviewed-by: Roman Schürmann <roman.schuermann@wmdb.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php

index b1dc952..e1f389b 100644 (file)
@@ -86,7 +86,7 @@ abstract class AbstractTask implements TaskInterface {
        protected function getChecksumData() {
                return array(
                        $this->getSourceFile()->getUid(),
-                       $this->getType() . '.' . $this->getName(),
+                       $this->getType() . '.' . $this->getName() . $this->getSourceFile()->getModificationTime(),
                        serialize($this->configuration)
                );
        }