Project

General

Profile

Actions

Bug #63776

closed

PageRenderer Hooks are called to late with uncached objects

Added by Robert Vock over 9 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2014-12-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Currently there are some Hooks in PageRenderer to modify values like JavaScript, CSS and Favicon:
render-preProcess
render-postProcess
render-postTransform

I wanted to use on of them to add a cache-buster to the favicon. This works without a problem, if there are no _INT objects on the page, because these hooks are called BEFORE getPreparedMarkerArray is called, which creates the marker for the favicon.
But when there are _INT objects on the page, these hooks get called AFTER getPreparedMarkerArray was called. Then changes to the favIcon (and some other fields like baseURL) are useless, because the markers were already created.

Solution would be to ensure that these hooks are called before getPreparedMarkerArray is called. Maybe this is not possible. Then it would be nice to have another hook, which always will be called before the markers are generated and the params should be removed from the render-postProcess, because they cannot be used reliably.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #86012: Indexing of meta-tags not possible when *_INT-objects are on the pageClosed2018-08-28

Actions
Related to TYPO3 Core - Bug #86234: Missing Meta Tags on Pages with *_INT objectsClosedRichard Haeser2018-09-12

Actions
Actions

Also available in: Atom PDF