Issue Bug Closed

#91298StaticValueMapper messes up route generation

Anonymous 05/04/20, 19:18 updated 09/29/26, 20:55

Description

Given configuration:

tx_awesomeextension_bestplugin[filter][foo]=1

routeEnhancers:
    Sample:
        type: Extbase
        extension: AwesomeExtension
        plugin: BestPlugin
        routes:
            -   routePath: '/foo/{foo}'
                _arguments:
                    foo: 'filter/foo'
                _controller: 'Foo::bar'
        defaultController: 'Foo::bar'
        aspects:
            foo:
                type: StaticValueMapper
                map:
                    -: ''
                    1: 1

Expected URL: http://great.ddev.site/foo/1

Observed behaviour: http://great.ddev.site/foo/-?tx_awesomeextension_bestplugin[filter][foo]=1

(skipped cHash for examples)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 7

  1. Anonymous changed description 05/04/20, 19:19

  2. Anonymous changed description 05/04/20, 19:19

  3. Anonymous changed description 05/04/20, 19:20

  4. Anonymous changed description 05/04/20, 19:20

  5. Simon Schaufelberger changed category 04/26/22, 22:25

  6. Georg Ringer changed Related to #91294 09/10/26, 21:07

  7. Georg Ringer commented and changed status New Closed 09/29/26, 20:55

    Cannot be reproduced with current versions: the given configuration generates /foo/1 as expected. Closing, please reopen if it still happens.