Bug #44610
closedUsing FLUIDTEMPLATE more then once causes errorneous caching of first occurrence
100%
Description
When having this in your TS Setup:
page = PAGE page.10 = FLUIDTEMPLATE page.10.file = template-file page.20 = FLUIDTEMPLATE page.20.file = other-template-file
... and Cache cleared, try hitting a page. The first page will use the content of 'template-file' for BOTH elements in page. Other pages behave well: both template-file and other-template-file are used. Hard refresh on first page will fix page cache on that page as apparently this time other-template-file IS used.
Tried in 4.7: no problems.
Tried with page.headerData.10 = FLUIDTEMPLATE, same problem.
Tried with many elements in page (e.g. .30, .40, etc). Problem seems to occur step by step (after Clear Cache, 3 elements in page):
- 1st hard refresh: 3x template of page.10
- 2nd hard refresh: 1x template of page.10, 2x template of page.20
- 3rd hard refresh: 1x template of page.10, 1x template of page.20, 1x template of page.30
Seems to me some sort of caching problem in Fluid?
Note: I'm not sure if this is an Core issue or an Fluid issue.
Updated by Christian Kuhn almost 12 years ago
confirmed
created a new page in top level tree (with root flag set),
added TS as yours above (pointing to two different templates)
cleared cache
a) page.20 uses template of page.10 on FIRST request (failure)
b) all ok on subsequent request.
same happens on call of a page below, so this is not only for top level page.
aaaaahhh! obviously some funny cache issue, did not check other typo3 versions like 4.7. maybe related to #37988 ?
Updated by Christian Kuhn almost 12 years ago
seems only 6.0 and above is affected.
Updated by Christian Kuhn almost 12 years ago
args, that was me ... i just 'git bisect' this to issue #42182, http://review.typo3.org/16639, commit 836cb8b111c01412dd3ea1e43fc18d3a4ff9977d
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17797
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17800
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17800
Updated by Christian Kuhn almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 610649d52a89c578fa58d724fd47ffa5b94d5d1e.