Project

General

Profile

Actions

Bug #102860

open

EXT:form - error in form editor when closing an edited content element

Added by Silke Capo 10 months ago. Updated 7 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2024-01-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I create a content element. Then I create a form and add this content element. I then preview the form in the form editor (clicking the eye on page icon) and then click on the content element to edit it, save it and then close it. After closing I get an error message instead of showing my edited form:

(1/1) #1298012500 TYPO3\CMS\Extbase\Mvc\Controller\Exception\RequiredArgumentMissingException
Required argument "formDefinition" is not set for TYPO3\CMS\Form\Controller\FormEditorController->renderFormPage.

The content element can be saved (and is saved), but the error message pops up and I have to go back to my form. via form module on the left. This happens on TYPO3 12.4.9 as well as on 9.x (PHP 7.2.34) where I checked for the error also.

Actions #1

Updated by Riccardo De Contardi 7 months ago

I guess that the same error occurs on TYPO3 13.2.0-dev, but the error message I got is:

(1/1) ArgumentCountError
Too few arguments to function TYPO3\CMS\Backend\View\PageLayoutContext::__construct(), 2 passed in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 2809 and exactly 5 expected
Actions

Also available in: Atom PDF