Bug #91523
closedRoute Enhancer breaks after two actions
100%
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
Updated by Benjamin Bomberg over 4 years ago
- Category set to Site Handling, Site Sets & Routing
- Tags set to Routeenhancers
Updated by Oliver Hader over 4 years ago
Thanks for your report, I've got some questions:
- Are the input URL parameters the same for all examples - especially, is
jobs
the same for all URLs to be generated (uid=98)? - In case the uid for
jobs
is different, is any of those records where it's not working translated, hidden, user-group restricted? &tx_jobboerse_displayjobs%5Bcontroller%5D=jobs
is lowercase, can you try with uppercase controller name - like in&tx_jobboerse_displayjobs%5Bcontroller%5D=Jobs
?
Updated by Oliver Hader over 4 years ago
- Status changed from New to Needs Feedback
Updated by Benjamin Bomberg over 4 years ago
Oliver Hader wrote:
Thanks for your report, I've got some questions:
- Are the input URL parameters the same for all examples - especially, is
jobs
the same for all URLs to be generated (uid=98)?- In case the uid for
jobs
is different, is any of those records where it's not working translated, hidden, user-group restricted?&tx_jobboerse_displayjobs%5Bcontroller%5D=jobs
is lowercase, can you try with uppercase controller name - like in&tx_jobboerse_displayjobs%5Bcontroller%5D=Jobs
?
Thank you very much for your answer.
It´s a little bit embarrasing... the uppercase of the controllername solved my issue...
I dont think I woul have thought of it now.
Thank you so much!
Updated by Riccardo De Contardi over 4 years ago
- Status changed from Needs Feedback to Closed
@Benjamin Fischer Bomberg as far as I have understood, this issue can be closed as resolved.
If you think that this is the wrong decision or I have misunderstood, please ping me and I'll reopen it.
Thank you for your feedback.