[BUGFIX] Resolve correct processed folder when on different storage 52/58452/2
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 11:54:44 +0000 (13:54 +0200)
commit76c2510a153d8171b479958ce70b402d94b3b05d
tree9442517954015bda9aa6d5bd201643f8e2e62238
parent038ea9a25d5a089bb126ba73ee2fac6f352fb95a
[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/58452
Tested-by: TYPO3com <no-reply@typo3.com>
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