Content gets not rendered

Issue #33 resolved
Thomas Helmrich created an issue

Hello,

i recognized following issue:

Having an endpoint that should render a page, doing that with:

$html = \nn\t3::Content()->column( 0, $pageUid );

When clearing cache and calling the endpoint, everything is fine.

But as soon as i call a HTML page on frontend and want afterwards call that endpoint, $html is always empty, because of $this->getTypoScriptFrontendController()->tmpl->setup (within ContentObjectRenderer::cObjGetSingle(..)) is empty.

And i wasted until now multiple hours, but did not figured out why.
Any ideas?
Running on current TYPO3 v11

Comments (4)

  1. Thomas Helmrich reporter

    IMHO the isseu could be, that withinTypoScriptFrontendController::getHash() the $this->id that is set by NNREST API Request is 1 - like the frontend start page. that causes that as soon as frontend page is called the further column renders will fail.

  2. David Bascom

    Fixed. Used an ugly workaround as the Core Team currently sees no reason for providing a solution (or simply didn't understand the use-case)

  3. Log in to comment