Project

General

Profile

Actions

Bug #93722

open

form variants error when using . inside a key

Added by David Menzel over 3 years ago. Updated almost 3 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2021-03-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
from, variants
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

I created a form variant and noticed that when you use a . inside a key and save the form in the backend again the form variant options get "corrupted"

example:

1. Creating a new variant option in the yaml file.

variants:
-
identifier: multicheckbox-1
condition: 'formValues["singleselect-1"] && formValues["radiobutton-1"] == "TEST"'
properties:
options:
'test (test2) test3. test4': TEST

2. make (any) changes in the form editor in the BE and save the form again.

3. the variant changes to

options:
'test (test2) test3':
' test4': TEST

I only noticed that because I copied and pasted the values. The original key was longer and was also split before the closing bracket but I couldn't reproduce this in this example.

Actions #1

Updated by Björn Jacob almost 3 years ago

  • Sprint Focus set to Remote Sprint
Actions #2

Updated by Mathias Brodala almost 3 years ago

  • Status changed from New to Accepted
Actions

Also available in: Atom PDF