Issue Bug Closed

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

Rafael Kähm 07/12/24, 13:56 updated 10/07/24, 13:22

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 8

  1. Rafael Kähm changed subject Get core context delegable in TSFE and Conten-Object stack Get core context delegable in TSFE and Conten-Object stack again 07/12/24, 13:56

  2. Georg Ringer changed Related to #102640 07/12/24, 17:44

  3. Georg Ringer commented 07/12/24, 17:45

    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?

  4. Rafael Kähm commented 07/12/24, 18:47

    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.

  5. Benni Mack commented and changed status New Needs Feedback 07/16/24, 12:46

    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?

  6. Garvin Hicking changed category 07/31/24, 08:58

  7. Benni Mack changed subject Get core context delegable in TSFE and Conten-Object stack again Get core context delegable in TSFE and Content-Object stack again 09/04/24, 14:11

  8. Christian Kuhn commented and changed status Needs Feedback Closed 10/07/24, 13:22

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