fix: reference index update no longer fails on the job application forms

referenceindex:update stopped at tt_content with "The Prototype
applicationform was not found": the backend and the CLI (form editor,
FlexForm of the form plugin, reference index) read module.tx_form, and the
form setup was only registered for the frontend (plugin.tx_form). TYPO3 10
set module.tx_form in the site TypoScript; TYPO3 13 reads it only from
global TypoScript, so ext_localconf.php registers FormSetup.yaml there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-10-23 17:47:57 +02:00
1 parent 4172ed978d
commit 119364dcaa
1 file changed
+7
+7
View File
@@ -1,5 +1,6 @@
<?php
use TYPO3\CMS\Core\Log\LogLevel;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry;
use EP\EpTheme\MetaTag\OpenGraphMetaTagManager;
@@ -18,6 +19,12 @@ $boot = function () {
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['layoutRootPaths'][700] = 'EXT:ep_theme/Resources/Private/Layouts/Email/';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['format'] = 'html';
// Backend and CLI (form editor, FlexForm of the form plugin, reference index) read module.tx_form,
// which TYPO3 13 only takes from global TypoScript, not from the site's template
ExtensionManagementUtility::addTypoScriptSetup(
'module.tx_form.settings.yamlConfigurations.1630994710 = EXT:ep_theme/Configuration/Yaml/FormSetup.yaml'
);
$metaTagManagerRegistry = GeneralUtility::makeInstance(MetaTagManagerRegistry::class);
$metaTagManagerRegistry->registerManager(
'ep_opengraph',