Issue Bug Closed

#65832page title of cached plugin (like news) is lost on partially cached pages

Markus Klein 03/18/15, 23:21 updated 03/19/15, 00:40

Description

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');

Reviews 0

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