Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2021-05-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
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:
  1. Create a new TYPO3 10.x instance (composer create-project "typo3/cms-base-distribution:^10.4" my-new-project)
  2. Add the form definition to fileadmin/form_definitions
  3. Open the form in the backend with the Forms module and press save.
  4. The following error is displayed: Bug_1.png

The form definition file is attached (conditionalform.form.yaml).

Kind regards
Gerald


Files

Bug_1.png (66.2 KB) Bug_1.png Screenshot of the error Gerald Jelitto, 2021-05-10 13:38
conditionalform.form.yaml (3.88 KB) conditionalform.form.yaml Gerald Jelitto, 2021-05-10 13:47

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #97235: Exception when adding variant with recipients label to form yamlClosed2022-03-24

Actions
Actions #1

Updated by Gerald Jelitto over 3 years ago

  • File deleted (conditionalform.form.yaml)
Actions #3

Updated by Björn Jacob over 3 years ago

  • Sprint Focus set to Remote Sprint
Actions #4

Updated by Elias Häußler over 2 years ago

  • Has duplicate Bug #97235: Exception when adding variant with recipients label to form yaml added
Actions #5

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75000

Actions #6

Updated by Oliver Hader over 2 years ago

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
Actions #7

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75009

Actions #8

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75009

Actions #9

Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75009

Actions #10

Updated by Gerrit Code Review about 2 years ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75009

Actions #11

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76164

Actions #12

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76165

Actions #13

Updated by Oliver Hader about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF