From 3f03480d1d3ade947337435f2b52c0efdcf18fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 16 Jul 2019 12:13:58 +0200 Subject: [PATCH] Fix configurator route resulting in 404 --- config/sites/ep-events/config.yaml | 9 --------- .../ep_events/Configuration/TypoScript/setup.typoscript | 1 - public/typo3conf/ext/ep_events/ext_localconf.php | 4 +++- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/config/sites/ep-events/config.yaml b/config/sites/ep-events/config.yaml index 690ca8c9..1e47460a 100644 --- a/config/sites/ep-events/config.yaml +++ b/config/sites/ep-events/config.yaml @@ -95,15 +95,6 @@ routeEnhancers: requirements: travel_type: \d+ location_type: \d+ - aspects: - travel_type: - type: PersistedAliasMapper - tableName: tx_epevents_domain_model_traveltype - routeFieldName: uid - location_type: - type: PersistedAliasMapper - tableName: tx_epevents_domain_model_location - routeFieldName: uid ContactFormPlugin: type: Extbase extension: EpEvents diff --git a/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript b/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript index e1ef9ffb..ac6f507f 100644 --- a/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript +++ b/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript @@ -16,7 +16,6 @@ plugin.tx_epevents { features { requireCHashArgumentForActionArguments = 0 - skipDefaultArguments = 1 } view { layoutRootPaths.10 = EXT:ep_events/Resources/Private/Layouts/ diff --git a/public/typo3conf/ext/ep_events/ext_localconf.php b/public/typo3conf/ext/ep_events/ext_localconf.php index faa984c7..863651b7 100644 --- a/public/typo3conf/ext/ep_events/ext_localconf.php +++ b/public/typo3conf/ext/ep_events/ext_localconf.php @@ -121,7 +121,7 @@ call_user_func(function() { 'Form' => 'configurator', ], [ - 'Form' => '', + 'Form' => 'configurator', ] ); @@ -144,6 +144,8 @@ call_user_func(function() { $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'search'; $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'ref'; + $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_epevents_configurator[travelType]'; + $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_epevents_configurator[locationType]'; $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] .= ',tx_epevents_traveltype,tx_epevents_offer'; $GLOBALS['TYPO3_CONF_VARS']['LOG']['EP']['EpEvents']['Controller']['writerConfiguration'] = [