Story #90074

Routing - how to get rid of cHash - need a blueprint

Added by Philipp Wrann 5 months ago. Updated 3 months ago.

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

0%

TYPO3 Version:
9
PHP Version:
7.3
Tags:
routing
Sprint Focus:

Description

Hi guys,

i need to implement some V9 routing for the first time. I already read all documentation i could find but there is an issue i cant solve.

I described everything in detail here:
https://stackoverflow.com/questions/59643974/typo3-cms-9-lts-cacheable-extbase-action-but-no-chash-with-new-routing

in short: What are the required steps to achive "deeplinks" for custom records (for example to a news record) with a cachable extbase plugin BUT no cHash in the final URL.

I can only achieve cached + cHash OR uncached without cHash.

This is such a basic thing, it needs to work somehow.

History

#1 Updated by Daniel Goerz 4 months ago

  • Status changed from New to Closed

As you answered your own question already on SO and there seems to be no core bug involved, I close this issue. :)

#2 Updated by Stephan Bauer 3 months ago

Why did you close this issue.

Philipp only uses a workaround.

Please answer the question why there is still a chash even if there are no parameter left in the URL.
E.g.:
http://.../jobs/detail/22?cHash=7a6f461ef030081e4ea9e9dd4441716f

  Jobs:
    type: Extbase
    extension: WsmJobs
    plugin: Job
    routes:
      - routePath: '/{job-title}'
        _controller: 'Job::show'
        _arguments:
          job-title: 'job'

The docu shows the examples without chash:
https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/Routing/AdvancedRoutingConfiguration.html?highlight=slug#extbase-plugin-enhancer

Why does is work with the news extension?

Also available in: Atom PDF