From 3b2f19758d0922ec45f26364642d5f9e7ca53f24 Mon Sep 17 00:00:00 2001 From: Franz Holzinger Date: Tue, 16 Jun 2026 14:48:38 +0200 Subject: [PATCH] Exception is thrown with not matching Flexform file name Added explanation for exception related to missing Flexform filename. --- Documentation/Exceptions/1480765571.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/Exceptions/1480765571.rst b/Documentation/Exceptions/1480765571.rst index a1fb4a7..4ce8e43 100644 --- a/Documentation/Exceptions/1480765571.rst +++ b/Documentation/Exceptions/1480765571.rst @@ -47,3 +47,23 @@ but forget the prefix `FILE:`: 'FILE:EXT:my_extension/Configuration/FlexForms/MyFlexForm.xml', 'myextension_textpic' ); + + +Not matching filename of FLexform file +======================================= + +This exception is thrown if the configured filename does not exist with the same name on the file system. +In the following example you must make sure the filename is exactly 'flexform_ds_plugin.xml'. + +.. code-block:: php + :caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php + :linenos: + :emphasize-lines: 3, 4 + + $extensionKey = 'my_extension'; + ExtensionManagementUtility::addPiFlexFormValue( + '*', + 'FILE:EXT:' . $extensionKey . '/Configuration/FlexForms/flexform_ds_plugin.xml', + $pluginSignature, + ); +