Project

General

Profile

Actions

Bug #98166

closed

PHP warning when FlexForm sheet has no fields

Added by Torben Hansen over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2022-08-18
Due date:
% Done:

100%

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

Description

When a FlexForm with multiple tabs has at least one sheet that does not contain any fields, the following PHP warning is shown.

Core: Error handler (BE): PHP Warning: Trying to access array offset on value of type null in /path/to/site/public/typo3/sysext/backend/Classes/Form/Container/FlexFormTabsContainer.php line 64

Although the problem only occurs due to invalid FlexForm, TYPO3 should catch the error and not show the PHP warning.

Actions #1

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/+/75490

Actions #2

Updated by Gerrit Code Review over 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/+/75518

Actions #3

Updated by Torben Hansen over 2 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF