Project

General

Profile

Actions

Bug #89641

closed

Routing configuration with 3rd party url segments

Added by Roman Büchler over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2019-11-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
pending-close
Complexity:
Is Regression:
Sprint Focus:

Description

An extension configures a speaking url segement as following:

routeEnhancers:
  JobvacPlugin:
    type: Extbase
    limitToPages:
      - 119
    extension: Jobvac
    plugin: Joblist
    routes:
      -
        routePath: '/{job_title}'
        _controller: 'Job::show'
        _arguments:
          job_title: job
    defaultController: 'Jobvac:joblist'
    aspects:
      job_title:
        type: PersistedAliasMapper
        tableName: tx_jobvac_domain_model_job
        routeFieldName: slug

In the global configurations the following is present:

[FE][cacheHash][excludedParameters] = L,pk_campaign,pk_kwd,utm_source,...

Calling the url

...{page}/{slug}

works fine where calling

...{page}/{slug}?utm_source=test

causes a runtime exception:

(1/1) #1544172838 RuntimeException

Error handler could not fetch error page "/pages/startpage", reason: Couldn't get URL: /pages/startpage

Without the routing configuration it works fine.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86895: routeEnhancer not working correct for paginate widgetClosed2018-11-09

Actions
Actions

Also available in: Atom PDF