[BUGFIX] Resolve correct processed folder when on different storage 10/58410/3
authorHelmut Hummel <typo3@helhum.io>
Thu, 27 Sep 2018 09:34:23 +0000 (11:34 +0200)
committerNicole Cordes <typo3@cordes.co>
Sat, 29 Sep 2018 10:55:56 +0000 (12:55 +0200)
commit9bb994f492e75efcfe139c3d6a64ef42dbef9bd1
tree3306861e39c0df8d3e8836b616ea777c602b5d09
parent1b24a61740dce3e9090366d2eb0ebd5499ae4637
[BUGFIX] Resolve correct processed folder when on different storage

During generation of processed files a wrong processed folder
is evaluated when the processed folder resides on a different storage.

We now ensure to ask the correct storage for the processed folder.

Also ensure that correct storage is used for checking file existence
when original file and processed files are on different storages.

Fixes: #86399
Releases: master, 8.7
Change-Id: I254b9a0bf86a156ae135510a4439e87737ec1a29
Reviewed-on: https://review.typo3.org/58410
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Classes/Resource/ProcessedFile.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php