Actions
Bug #104552
openError on form setup with source from fileadmin: Resource paths must start with "EXT:"
Start date:
2024-08-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
form
Complexity:
easy
Is Regression:
Sprint Focus:
Description
If I setup "fileadmin" as source in extension configuration backend, I get a error by sending mails on frontend.
It shoudbe possible to use also images from fileadmin source as described on the examples in backend configuration.
(1/1) #1630089406 TYPO3\CMS\Core\Resource\Exception\InvalidFileException Resource paths must start with "EXT:" in /var/customers/webs/HZFMuelheim/typo3_src-12.4.16/typo3/sysext/core/Classes/Utility/PathUtility.php line 101 */ public static function getPublicResourceWebPath(string $resourcePath, bool $prefixWithSitePath = true): string { if (!self::isExtensionPath($resourcePath)) { throw new InvalidFileException('Resource paths must start with "EXT:"', 1630089406); } $absoluteFilePath = GeneralUtility::getFileAbsFileName($resourcePath); if (!str_contains($resourcePath, 'Resources/Public')) { if (!str_starts_with($absoluteFilePath, Environment::
Files
Updated by Paul Klimek 4 months ago
Same error comes by setup "PNG" so its really a error of the path.
The same path is setuped for "backend logo" and works fine, so only "Login" >> "Logo" creates this error only by sending mails. Backend Login looks fine, too.
Updated by Riccardo De Contardi 4 months ago
possibly duplicate of https://forge.typo3.org/issues/97733?
Actions