Bug #94106
closed
Unable to save form after variant for EmailToReceiver is added
Added by Gerald Jelitto over 3 years ago.
Updated almost 2 years ago.
Sprint Focus:
Remote Sprint
Description
After creating a variant for the mail finisher, the form is not editable in the backend, but works fine in the frontend.
How to reproduce:
- Create a new TYPO3 10.x instance (composer create-project "typo3/cms-base-distribution:^10.4" my-new-project)
- Add the form definition to fileadmin/form_definitions
- Open the form in the backend with the Forms module and press save.
- The following error is displayed: Bug_1.png
The form definition file is attached (conditionalform.form.yaml).
Kind regards
Gerald
Files
- File deleted (
conditionalform.form.yaml)
- Sprint Focus set to Remote Sprint
- Has duplicate Bug #97235: Exception when adding variant with recipients label to form yaml added
- Status changed from New to Under Review
I was able to reproduce the misbehavior for finisher variants like the following (on top level of a form definition):
variants:
-
identifier: variant-finishers-1
condition: 'formValues["radiobutton-1"] == "aa"'
finishers:
-
options:
subject: '{subject}'
senderAddress: '{email}'
senderName: '{fullname}'
replyToRecipients:
'{email}': ''
format: html
attachUploads: true
recipients:
aa@aa.h1d3.de: AA
identifier: EmailToReceiver
-
identifier: variant-finishers-2
condition: 'formValues["radiobutton-1"] == "bb"'
finishers:
-
options:
subject: '{subject}'
senderAddress: '{email}'
senderName: '{fullname}'
replyToRecipients:
'{email}': ''
format: html
attachUploads: true
recipients:
bb@aa.h1d3.de: BB
identifier: EmailToReceiver
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF