Project

General

Profile

Actions

Bug #104382

closed

Get core context delegable in TSFE and Content-Object stack again

Added by Rafael Kähm 7 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2024-07-12
Due date:
% Done:

0%

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

Description

In #102640 the accessibility and delegability of core context in TSFE and cObject removed.

This is required by EXT:solr to get translations in all TYPO3 language modies.

Without that feature we must rewrite the most parts of EXT:solr to get it working with TYPO3 13 LTS.
That means for each record translation, which will be indexed, own (real or sub)FE-process/request incl. all the application stuff must be bootstrapped.

Is it possible to get that feature back?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #102640: Avoid TSFE->getContext() and TSFE->getRequestedId()Closed2023-12-09

Actions
Actions #1

Updated by Rafael Kähm 7 months ago

  • Subject changed from Get core context delegable in TSFE and Conten-Object stack to Get core context delegable in TSFE and Conten-Object stack again
Actions #2

Updated by Georg Ringer 7 months ago

  • Related to Task #102640: Avoid TSFE->getContext() and TSFE->getRequestedId() added
Actions #3

Updated by Georg Ringer 7 months ago

thanks for creating the issue. there is no chance to just revert the mentioned change. can you come up with an event which would help ext:solr to index translated records?

Actions #4

Updated by Rafael Kähm 7 months ago · Edited

Georg Ringer wrote in #note-3:

thanks for creating the issue. there is no chance to just revert the mentioned change. can you come up with an event which would help ext:solr to index translated records?

Can't imagine a solution with an event at the moment. The EXT:solr indexer needs an own initialized TSFE/Core Context & co. for different PIDs and languages in same process...

We don't want the rollback of all changes from #102640, but the "accessibility and delegability of core context and relevant for translations objects". Also TypoScriptFrontendController::__construct parameters as in 12.4 but may be nullable/optional with approprite getters, which were available in 12.4.

Actions #5

Updated by Benni Mack 7 months ago

  • Status changed from New to Needs Feedback

Hey Rafael,

so the best thing would be to have

- TSFE->getContext()
- TSFE->getSite()
- TSFE->getLanguage()

back again, or do you need something else in ContentObjectRenderer as well?

Actions #6

Updated by Garvin Hicking 7 months ago

  • Category set to Frontend
Actions #7

Updated by Benni Mack 5 months ago

  • Subject changed from Get core context delegable in TSFE and Conten-Object stack again to Get core context delegable in TSFE and Content-Object stack again
Actions #8

Updated by Christian Kuhn 4 months ago

  • Status changed from Needs Feedback to Closed

Talked to Benni and Rafael again, the questions in solr have been resolved. Issue can be closed.

Actions

Also available in: Atom PDF