Bug #68333

Fluid Form ViewHelper dosen't generate Hmac correctly in widgets

Added by Philipp Thiele over 4 years ago. Updated over 2 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2015-07-18
Due date:
% Done:

0%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you use f:form in a widget and add some inputs, these (property based or name based) inputs are not prefixed correctly. This leads to validation errors after submitting the form, as the values cannot be recognized due to the missing prefix.

You can circumvent the problem by using fieldNamePrefix attribute on the f:form viewhelper, but if you do so, the form fields are no longer added to the trusted properties.

So in fact there are two issues to solve:
1) properly prefix the viewhelpers when in widget context
2) allow multi-dimensional fieldname prefix in MvcPropertyMappingConfigurationService->generateTrustedPropertiesToken()

History

#1 Updated by Philipp Thiele over 4 years ago

problem exists also in 7 master

#2 Updated by Claus Due over 4 years ago

Sounds reasonable! This still has to be solved in the TYPO3 "fluid" extension even after integrating the Fluid standalone package. Widgets are still 100% provided by EXT:fluid.

#3 Updated by Claus Due over 4 years ago

  • Status changed from New to Accepted

#4 Updated by Susanne Moog over 2 years ago

  • Category changed from Documentation to Fluid

Also available in: Atom PDF