Project

General

Profile

Actions

Bug #91298

open

StaticValueMapper messes up route generation

Added by Anonymous about 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & 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

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)

Actions #1

Updated by Anonymous about 4 years ago

  • Description updated (diff)
Actions #2

Updated by Anonymous about 4 years ago

  • Description updated (diff)
Actions #3

Updated by Anonymous about 4 years ago

  • Description updated (diff)
Actions #4

Updated by Anonymous about 4 years ago

  • Description updated (diff)
Actions #5

Updated by Simon Schaufelberger about 2 years ago

  • Category set to Link Handling, Site Handling & Routing
Actions

Also available in: Atom PDF