Bug #96448

TimeTracker: hierarchy handling broken / PHP8.1 errors.

Added by Susanne Moog 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
AdminPanel
Target version:
-
Start date:
2022-01-02
Due date:
% Done:

100%

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

Description

Opening the admin panel with PHP8.1 results in array access related errors. The main error comes from the broken hierarchy creation that has been introduced in https://review.typo3.org/c/Packages/TYPO3.CMS/+/72602 (it worked before by chance as PHP created an array on the fly).
The other errors are mainly related to times handled as int and formatted as string.

How to reproduce:
- Use PHP 8.1
- Open the admin panel

To get all related errors: open settings of the TS Tree module and check/uncheck the options

Also available in: Atom PDF