Issue Bug Under Review Orphaned

#93722form variants error when using . inside a key

David Menzel 03/12/21, 13:39 updated 04/22/26, 06:26

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.

Reviews 1

History 45

  1. Gerrit Code Review pushed patch set 1 for main to change 93791 status Accepted Under Review <span data-processor="relativetime" data-value="2026-04-22T06:26:15+00:00" > 04/22/26, 06:26 </span>