Project

General

Profile

Actions

Bug #44610

closed

Using FLUIDTEMPLATE more then once causes errorneous caching of first occurrence

Added by Egbert van der Hout almost 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-01-17
Due date:
% Done:

100%

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

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #43182: Split FLUIDTEMPLATE class to smaller methodsClosed2012-11-20

Actions
Actions #1

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 ?

Actions #2

Updated by Christian Kuhn almost 12 years ago

seems only 6.0 and above is affected.

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Christian Kuhn almost 12 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF