Project

General

Profile

Actions

Bug #91523

closed

Route Enhancer breaks after two actions

Added by Benjamin Bomberg almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-05-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Routeenhancers
Complexity:
Is Regression:
Sprint Focus:

Description

I got the following Problem,

You can see my Yaml-Configuration for my own extension.
The first actions are working and so I got good looking speaking urls
Show-Action: https:example.de/our-jobs/job/kundenberater-in-e-commerce/

Application-Action: https:example.de/our-jobs/profil/kundenberater-in-e-commerce

after these actions the routing breaks and I get for questionaire for example:
https:example.de/our-jobs/?tx_jobboerse_displayjobs%5Baction%5D=questionnaire&tx_jobboerse_displayjobs%5Bcontroller%5D=jobs&tx_jobboerse_displayjobs%5Bjobs%5D=98&cHash=0fac7e52327d8ef84d8a650ceb885e73

So I really dont know how to fix this issue and maybe someone here can help me out!

Thanks :)

routeEnhancers:
  Jobboerse:
    type: Extbase
    extension: Jobboerse
    plugin: displayjobs
    defaultController: 'Jobs::list'
    routes:
      - { _controller: 'Jobs::show', routePath: '/job/{jobs_title}', _arguments: {'jobs_title': 'jobs'} }
      - { _controller: 'Jobs::application', routePath: '/profil/{jobs_title}', _arguments: {'jobs_title': 'jobs'} }
      - { _controller: 'Jobs::cv', routePath: '/cv/{jobs_title}', _arguments: {'jobs_title': 'jobs'} }
      - { _controller: 'Jobs::questionnaire', routePath: '/fragebogen/{jobs_title}', _arguments: {'jobs_title': 'jobs'} }
    aspects:
      jobs_title:
        type: PersistedAliasMapper
        tableName: tx_jobboerse_domain_model_jobs
        routeFieldName: path_segment
Actions

Also available in: Atom PDF