我有带有 8LTS (+ fsc) 和 ext:form 的 gridelements(8.xx 的 dev 分支)。两者似乎都为自己工作。但是,如果我将表单元素放置在 gridelement 容器中......当我想发送表单时会收到以下错误消息:
糟糕,发生错误!
给定的字符串未附加有效的 HMAC。
有人知道是什么原因造成的吗?其他 CE 元素似乎在网格中起作用。
在定义的容器中允许所有 * CE 的网格配置:
Name: Column #1
Column number: 10
Allowed CE: *
Allowed Grids: *
在日志中:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1320830018: The given string was
not appended with a valid HMAC. | TYPO3\CMS\Extbase\Security\Exception\InvalidHashException
thrown in file /is/htdocs/www/typo3_src-8.7.4/typo3/sysext/extbase/Classes/Security/Cryptography/HashService.php
in line 94.
Requested URL: .../contact/?tx_form_formframework%5Baction%5D=perform&tx_form_formframework%5Bcontroller%5D=FormFrontend&cHash=c81ac6ed1b41sdfgsdg71fsdfb44584e7
调试显示:
TYPO3\CMS\Extbase\Security\Exception\InvalidHashException thrown in file
/is/htdocs/.../www/typo3_src-8.7.4/typo3/sysext/extbase/Classes/Security/Cryptography/HashService.php in line 94.
19 TYPO3\CMS\Extbase\Security\Cryptography\HashService::validateAndStripHmac("a:1:}ac4293effb593e4b063cbfcc6fc2c1e2c0c650a1")
/is/htdocs/.../www/typo3_src-8.7.4/typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php:
00124: }
00125:
00126: $serializedTrustedProperties = $this->hashService->validateAndStripHmac($trustedPropertiesToken);
00127: $trustedProperties = unserialize($serializedTrustedProperties);
00128: foreach ($trustedProperties as $propertyName => $propertyConfiguration) {
...