Actions
Bug #91294
openMultiple StaticValueMappers interference
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-05-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The following configuration generates the following url for example.
tx_awesomeextension_bestplugin[filter][foo] = 1
tx_awesomeextension_bestplugin[filter][bar] = 0
routeEnhancers:
Sample:
type: Extbase
extension: AwesomeExtension
plugin: BestPlugin
routes:
- routePath: '/{foo}{bar}'
_arguments:
foo: 'filter/foo'
bar: 'filter/bar'
_controller: 'Foo::bar'
defaultController: 'Foo::bar'
aspects:
foo:
type: StaticValueMapper
map:
foo: 1
Go one step further and lets add another StaticValueMapper:
routeEnhancers:
Sample:
type: Extbase
extension: AwesomeExtension
plugin: BestPlugin
routes:
- routePath: '/{foo}{bar}'
_arguments:
foo: 'filter/foo'
bar: 'filter/bar'
_controller: 'Foo::bar'
defaultController: 'Foo::bar'
aspects:
foo:
type: StaticValueMapper
map:
foo: 1
bar:
type: StaticValueMapper
map:
bar: 1
We would expect to see: http://great.ddev.site/foo?tx_awesomeextension_bestplugin[filter][bar]=0
What actually happens: http://great.ddev.site/10
(skipped cHash for examples)
Updated by Anonymous over 4 years ago
- Subject changed from Multiple StaticValueMappers interfere to Multiple StaticValueMappers interference
Updated by Simon Schaufelberger over 2 years ago
- Category set to Site Handling, Site Sets & Routing
Actions