[BUFGIX] Add modification time to processedfile checksum 98/36898/2
authorruud <ruudsilvrants@gmail.com>
Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)
committerNicole Cordes <typo3@cordes.co>
Sat, 14 Feb 2015 19:03:28 +0000 (20:03 +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/36898
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Resource/Processing/AbstractTask.php

index d1f3ac2..a2aa250 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)
                );
        }