The file will not be processed despite the folder "subfolder" is located in folder "mainfolder" which should be processed.
I think this is due to the called function $folder->getReadablePath().
In case of a mountpoint this function does not return the complete path (/mainfolder/subfolder/) but (/subfolder/).
This has the consequence that "preg_match($directoryConfig['pattern'], $relTargetFileName)" fails.
Since $directoryConfig['pattern'] in this case checks for "/^main_folder\/([^\/]+\/)*/" and is not set in $relTargetFileName (/my/absolute/path/fileadmin/sub_foler/).
We encountered a problem in combination with mountpoints if the mountpoint folder is inside of a configured directory.
TYPO3: 11.5.x image_autoresize: 2.2.1
Testsetup:
Fileadmin Path: /my/absolute/path/fileadmin/
File Storage:
Filemount:
Backend User:
Configuration:
The file will not be processed despite the folder "subfolder" is located in folder "mainfolder" which should be processed.
I think this is due to the called function
$folder->getReadablePath()
. In case of a mountpoint this function does not return the complete path (/mainfolder/subfolder/
) but (/subfolder/
). This has the consequence that "preg_match($directoryConfig['pattern'], $relTargetFileName)
" fails. Since$directoryConfig['pattern']
in this case checks for "/^main_folder\/([^\/]+\/)*/
" and is not set in$relTargetFileName
(/my/absolute/path/fileadmin/sub_foler/
).