Issue Bug Closed

#89641Routing configuration with 3rd party url segments

Roman Büchler 11/11/19, 15:36 updated 09/09/20, 11:27

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.

Reviews 0

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