Issue Bug Closed

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

Silke Capo 01/18/24, 11:59 updated 03/31/26, 09:00

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.

Reviews 2

History 412

  1. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2024-04-28T20:37:53+00:00" > 04/28/24, 20:37 </span>

    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
  2. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-02-09T13:40:08+00:00" > 02/09/26, 13:40 </span>

    Applied in changeset commit:8f2128b12895150a5f5bca530e0b0a7651b50ada.

  3. Gerrit Code Review pushed patch set 2 for 13.4 to change 92753 status Resolved Under Review <span data-processor="relativetime" data-value="2026-02-09T19:57:05+00:00" > 02/09/26, 19:57 </span>

  4. Josua Vogel commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-02-10T08:50:09+00:00" > 02/10/26, 08:50 </span>

    Applied in changeset commit:6da7776255300fdbad157d1e87761d17e2e33bb2.