Bug #98433
closedImprove error message when the FlexForm file is not found
100%
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
Updated by Gerrit Code Review about 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75866
Updated by Gerrit Code Review about 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75866
Updated by Lina Wolf about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 272d28d8ef6b70fc3d68f4787139ef9f6e3f003c.