Bug #104382
closedGet core context delegable in TSFE and Content-Object stack again
0%
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?
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
Updated by Georg Ringer 7 months ago
- Related to Task #102640: Avoid TSFE->getContext() and TSFE->getRequestedId() added
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?
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.
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?
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
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.