Issue Bug Closed

#87653cHash error with extbase plugin and routeEnhancer

Alexander Vogt 02/05/19, 10:26 updated 04/11/19, 16:21

Description

I get the following error message after calling a mapped news detail URL: “Request parameters could not be validated (&cHash empty)”.

Url generation:

<f:link.action action="show" arguments="{article: record}">text</f:link.action>

Route enhancer:

routeEnhancers:
  newsdetail:
    type: Extbase
    extension: Demo
    plugin: Newsdetail
    routes:
      -
        routePath: '/detail/{news_title}'
        _controller: 'News::show'
        _arguments:
          news_title: article
    defaultController: 'News::show'
    aspects:
      news_title:
        tableName: tx_demo_domain_model_newsarticle
        routeFieldName: slug
        routeValuePrefix: /
    limitToPages:
      - 55

Generated url: /de/news/detail/demo-article-title

How can i solve this? I am currently using the setting “feature.requireCHashArgumentForActionArguments = 0” to avoid this issue.

Reviews 0

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