我有8LTS(+ fsc)和ext:形式的gridelements(8.x.x的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) {
...