Project

General

Profile

Actions

Bug #102638

closed

#1666513645 RuntimeException Setup array has not been initialized. This happens in cached Frontend scope where full TypoScript is not needed by the system.

Added by Simon Schaufelberger 5 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2023-12-09
Due date:
% Done:

100%

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

Description

This happens currently in 0bdf6daa7772354dcbeb9c4769a69242362a9c80 when enabling the admin panel in the frontend. I don't know which commit broke this.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #100759: f:translate does not take overrides of labels in TypoScript into account anymoreResolved2023-04-26

Actions
Actions #1

Updated by Simon Schaufelberger 5 months ago

  • Category set to AdminPanel
Actions #2

Updated by Christian Kuhn 4 months ago

  • Status changed from New to Needs Feedback

The deal is: When TS is not fully loaded, then accessing the setup part does throw because it has not been initialized and should not be called. That's valid and much better than just returning something empty - a crash is triggered so dev knows something was called that should not have been.

So the question is: Who calls this and why?

Actions #3

Updated by Christian Kuhn 4 months ago

Actions #4

Updated by Christian Kuhn 4 months ago

  • Related to Bug #100759: f:translate does not take overrides of labels in TypoScript into account anymore added
Actions #5

Updated by Christian Kuhn 4 months ago

Actions #6

Updated by Gerrit Code Review 4 months ago

  • Status changed from Needs Feedback 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/+/82396

Actions #7

Updated by Christian Kuhn 4 months ago ยท Edited

This is a regression from the f:translate() VH change. It is triggered by ext:adminpanel which may render (and translate) views in fully-cached scenarios where TypoScript setup is not loaded.

Actions #8

Updated by Gerrit Code Review 3 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/+/82396

Actions #9

Updated by Gerrit Code Review 3 months ago

Patch set 3 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/+/82396

Actions #10

Updated by Gerrit Code Review 3 months ago

Patch set 4 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/+/82396

Actions #11

Updated by Gerrit Code Review 3 months ago

Patch set 5 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/+/82396

Actions #12

Updated by Benni Mack 3 months ago

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

Updated by Gerrit Code Review 3 months ago

  • Status changed from Resolved to Under Review

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

Actions #14

Updated by Benni Mack 3 months ago

  • Status changed from Under Review to Resolved
Actions

Also available in: Atom PDF