Project

General

Profile

Actions

Bug #86999

closed

routeEnhancers type: Simple destroy extbase action/controller in url

Added by Steffen Mächtel almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2018-11-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Tested with 9.5.1 and 9.5.2-dev

When using routeEnhancers with type Simple in combination with an extbase action (f:link.action), the resulting url dont works.

My local test setup:

Extension: example
Controller: ArticleThree
Action: list

sites/test/config.yaml

routeEnhancers:
    PageAjax:
        type: Simple
        routePath: '/category/{category}'
        requirements:
            category: '[0-9]{1,8}'

fluid template

<f:link.action action="list" additionalParams="{category: 5}">list</f:link.action>

link generated without routeEnhancers: (Working)

ajax-test-3?category=5&tx_example_articlethree%5Baction%5D=list&tx_example_articlethree%5Bcontroller%5D=ArticleThree&cHash=546efd88b712e697c967f9aa4c8ec0a9

link generated with routeEnhancers: (Not Working)

ajax-test-3/category/5?sd1e81ff39e3713ebae2d89f73379a55=ArticleThree&tx_example_articlethree__action=list&cHash=354058dfabfeb54b8dbc412b598cccba

The brackets are replaced with underscore:

tx_example_articlethree__action=list

There is a strange "hash" in front of ControllerName:

sd1e81ff39e3713ebae2d89f73379a55=ArticleThree

Without an extbase action, everything is working: (f:link.page)

<f:link.page additionalParams="{category: 5}">list</f:link.action>

ajax-test-3/category/5?cHash=24e9e862dd2e53ce060a6137ad759140

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #89647: Forms routing not working because of option 'deflatedParameters'Closed2019-11-12

Actions
Actions

Also available in: Atom PDF