Project

General

Profile

Bug #91294

Updated by Anonymous about 4 years ago

The following configuration generates the following url for example. 

 tx_awesomeextension_bestplugin[filter][foo] = 1 
 tx_awesomeextension_bestplugin[filter][bar] = 0 

 http://great.ddev.site/foo0 

 <pre><code class="yaml"> 
 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 
 </code></pre> 

 Go one step further and lets add another StaticValueMapper: 

 <pre><code class="yaml"> 
 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 
 </code></pre> 

 We would expect to see: http://great.ddev.site/foo0 http://great.ddev.site/foobar 

 What actually happens: http://great.ddev.site/10 

 (skipped cHash for examples) 

Back