Bug #87116

Pagetitle is never loaded from cache

Added by Markus Opahle 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2018-12-10
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In \TYPO3\CMS\Core\PageTitle\PageTitleProviderManager::getTitle() $this->pageCache is tested to be an instance of \TYPO3\CMS\Core\Cache\Backend\AbstractBackend, which could never be true since it is a CacheFrontend not a Backend.

Thus, all Pagetitle providers will be called even on cached pages.

Testet in TYPO3 9.5.1

Associated revisions

Revision 412666d9 (diff)
Added by Richard Haeser 3 months ago

[BUGFIX] Check for valid FrontendInterface for page title cache

The PageTitleProviderManager will now check if the page cache object
is an instance of FrontendInterface before getting the value from cache.

Resolves: #87116
Releases: master
Change-Id: I14838b41a7cba653d5f4e6c875c647f547673644
Reviewed-on: https://review.typo3.org/59082
Tested-by: TYPO3com <>
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>
Reviewed-by: Oliver Hader <>
Tested-by: Oliver Hader <>

History

#1 Updated by Josef Glatz 3 months ago

  • Category set to SEO

#2 Updated by Richard Haeser 3 months ago

  • Status changed from New to Accepted

#3 Updated by Gerrit Code Review 3 months ago

  • Status changed from Accepted 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 https://review.typo3.org/59082

#4 Updated by Richard Haeser 3 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF