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

#1

Updated by Gerrit Code Review 6 months 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/+/72824

#2

Updated by Gerrit Code Review 6 months ago

Patch set 2 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/+/72824

#3

Updated by Gerrit Code Review 6 months 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/+/72838

#4

Updated by Susanne Moog 6 months ago

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

Updated by Gerrit Code Review 6 months ago

  • Status changed from Resolved to Under Review

Patch set 2 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/+/72838

#6

Updated by Susanne Moog 6 months ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF