Fix configurator route resulting in 404

This commit is contained in:
Björn Fromme
2019-07-16 12:13:58 +02:00
parent 6ba1207efb
commit 3f03480d1d
3 changed files with 3 additions and 11 deletions
-9
View File
@@ -95,15 +95,6 @@ routeEnhancers:
requirements: requirements:
travel_type: \d+ travel_type: \d+
location_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: ContactFormPlugin:
type: Extbase type: Extbase
extension: EpEvents extension: EpEvents
@@ -16,7 +16,6 @@
plugin.tx_epevents { plugin.tx_epevents {
features { features {
requireCHashArgumentForActionArguments = 0 requireCHashArgumentForActionArguments = 0
skipDefaultArguments = 1
} }
view { view {
layoutRootPaths.10 = EXT:ep_events/Resources/Private/Layouts/ layoutRootPaths.10 = EXT:ep_events/Resources/Private/Layouts/
@@ -121,7 +121,7 @@ call_user_func(function() {
'Form' => 'configurator', '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'][] = 'search';
$GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'ref'; $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']['FE']['pageOverlayFields'] .= ',tx_epevents_traveltype,tx_epevents_offer';
$GLOBALS['TYPO3_CONF_VARS']['LOG']['EP']['EpEvents']['Controller']['writerConfiguration'] = [ $GLOBALS['TYPO3_CONF_VARS']['LOG']['EP']['EpEvents']['Controller']['writerConfiguration'] = [