Actions
Bug #98433
closedImprove error message when the FlexForm file is not found
Start date:
2022-09-25
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When I am using a FlexForm File that does not exist, i.e.
```
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'tea_tea',
'FILE:EXT:nonexistanextension/Configuration/FlexForms/Plugin.xml'
);
```
The following error is thrown:
```
Data structure file could not be resolved to an existing file
```
It does not display the name of the file not found but instead tries display the result of GeneralUtility::getFileAbsFileName, which is by definition an empty string if the file was not found
Actions