【发布时间】:2020-07-29 13:40:30
【问题描述】:
在 TYPO3 9.5.17 之前,以下路由增强器起作用:
keywords:
limitToPages:
- 3735
type: Plugin
routePath: '/{uid}'
namespace: tx_plkeywords_pi1
requirements:
uid: '[0-9]{1,3}'
aspects:
uid:
type: PersistedAliasMapper
tableName: tx_plkeywords_keywords
routeFieldName: slug
网址如下所示:
https://mydomain.de/mypage/?tx_plkeywords_pi1%5Buid%5D=376&cHash=385abdf54fe3c2617c617af32e5a5c1c
错误信息:
路由“enhancer_tx_plkeywords_pi1000000002142b4310000000022f8b3c9”的参数“tx_plkeywords_pi1__uid”必须匹配“[0-9]{1,3}”(给定“videomarketing”)才能生成相应的网址。
该表存在,并且 uid 为 376 的条目在 slugs 字段中具有条目“videomarketing”。我不明白这段代码有什么问题。
任何帮助表示赞赏...! 彼得
【问题讨论】: