Issue Bug Closed

#44610Using FLUIDTEMPLATE more then once causes errorneous caching of first occurrence

Egbert van der Hout 01/17/13, 16:56 updated 10/02/18, 12:15

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.

Reviews 2