Issue Bug Closed

#66340Processed files for storage 0 do not get updated when the original file changes

Nils Blattner 04/09/15, 18:55 updated 07/10/15, 17:23

Description

Hi there

When files in storage 0 (possibly other storages aswell) get changed on the file system, the processed file does not get updated with the new data.
This is quite a common case (FTP, other sync from external systems) and can be solved quite easily.

  • Make TYPO3\CMS\Core\Resource\ProcessedFileRepository->createDomainObject() recognize when a processed file has changed (preferably filemtime vs tstamp of sys_file_processedfile)
  • Make TYPO3\CMS\Core\Resource\ProcessedFileRepository->findOneByOriginalFileAndTaskTypeAndConfiguration() include the change time of the original file (again preferably filemtime) in the configurationsha1 (and of course in ProcessedFile for storing)

What would be the preferred way?

Most simple use case:
  1. Have an <f:image fluid tag that shrinks a given li> <li>Replace the underlying file via FTP</li> </f:image>

Kind regards
Nils

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.