Project

General

Profile

Actions

Bug #103756

closed

View History Crashes

Added by Matthias Kappenberg 7 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2024-04-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

../typo3/sysext/backend/Classes/View/ValueFormatter/FlexFormValueFormatter.php
Line 56
$processedSheets = $this->getProcessedSheets($flexFormDataStructure, $flexFormDataArray['data']);

Throws an error if a new created field is a flexform field.

My solution:
$processedSheets = $this->getProcessedSheets($flexFormDataStructure, $flexFormDataArray['data'] ?? []);

Steps to reproduce:
Add to an existing TYPO3 Installation a new flexform field, e.g. tt_content table.
Then view history.


Files

TYPO3 Exception.png (107 KB) TYPO3 Exception.png Bug description Matthias Kappenberg, 2024-04-28 20:18
Actions

Also available in: Atom PDF