page title of cached plugin (like news) is lost on partially cached pages
Having a news detail page, which is fully cached will have the proper page title of the news.
If for some reason the page is not fully cached (eg some *_INT objects are present) then the page title is not correct anymore.
The title of the cached plugin is lost.
To reproduce just add this TS snippet to a fully cached detail page of news:
page.100 = COA_INT page.100.10 = TEXT page.100.10.value = test
These methods in the cached plugin all fail to set the title properly:
$GLOBALS['TSFE']->page['title'] = 'New page title'; $GLOBALS['TSFE']->altPageTitle = 'New page title'; $GLOBALS['TSFE']->indexedDocTitle = 'New page title'; $GLOBALS['TSFE']->getPageRenderer()->setTitle('New page title');