Project

General

Profile

Actions

Bug #85608

closed

Form editor does not save preselected values

Added by Ralf Zimmermann over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Form Framework
Start date:
2018-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

The validation of preselected values for the form elements "SingleSelect", "RadioButton", "MultiCheckbox" and "MultiSelect" fails on save if the "Selected" checkbox is checked within the "Choices" inspector editor.
Technically, the "Inspector-PropertyGridEditor" inspector editor JavaScript generates the additional property "defaultValue", which is not defined in the form setup.
The result is an exception on save like this

 #1297759968: No hmac found for property "defaultValue" (form element "singleselect-1") #1528588037

The form definition validation must take care about this special property.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #85670: Form Config throws exception on save after adding finishers or validatorsClosed2018-07-27

Actions
Related to TYPO3 Core - Task #85673: Add form framework RequiredValidatorEditor testClosed2018-07-29

Actions
Actions

Also available in: Atom PDF