Bug #65832

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

Added by Markus Klein over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-03-18
Due date:
% Done:

0%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

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


Related issues

Duplicates TYPO3 Core - Bug #62080: $GLOBALS['TSFE']->page['title'] in USER doesn't work anymore for cached pages Closed 2014-10-07

History

#1 Updated by Markus Klein over 4 years ago

  • Target version deleted (next-patchlevel)

Duplicates #62080

#2 Updated by Markus Klein over 4 years ago

  • Status changed from Accepted to Closed

#3 Updated by Gerrit Code Review over 4 years ago

  • Status changed from Closed to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37938

#4 Updated by Markus Klein over 4 years ago

  • Status changed from Under Review to Closed

push went to wrong ticket

Also available in: Atom PDF