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

Updated by Oliver Hader 7 months ago

  • Status changed from New to Accepted
Actions #2

Updated by Gerrit Code Review 4 months ago

  • Status changed from Accepted 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/+/85539

Actions #3

Updated by Gerrit Code Review 4 months ago

Patch set 1 for branch 12.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/+/85540

Actions #4

Updated by Benni Mack 4 months ago

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

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF