Project

General

Profile

Actions

Bug #90162

open

Flexform caching problems with (nested) site config

Added by Michael Stopp over 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2020-01-21
Due date:
% Done:

0%

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

Description

I encountered multiple issues with updated flexform data having no effect in FE.

While developing a plugin with a flexform, changes made to the flexform data weren't reflected in the FE output. After debugging the application and checking the saved flexform data in tt_content, it had to be some kind of caching problem. I tried "Flush frontend caches": no effect. I tried "Clear all caches": no effect. I then tried "Flush TYPO3 and PHP Cache" in Admin Tools/Maintenance: finally, the changed data was showing in the FE.

I noticed the same flexform had no problems with updating values on a different page, where the same plugin was in use. But that page was within the default site. The page with the flexform caching problems had its own site config, nested within the main/default site. When I removed the site config for the nested site (so that the page was part of the main site config), all updating problems were gone. A simple reload of the page in the FE was enough, no cache clearing required at all.

To sum up:
  1. There seems to be some caching problem with flexform data and nested site configs
  2. "Flush TYPO3 and PHP Cache" in Admin Tools/Maintenance doesn't do the same thing as "Clear all caches" (even though it says so: "This utility is also present in TYPO3’s backend: Top Bar > Clear Cache > Flush all caches")

This is obviously a serious problem, since regular BE users might have the right to change flexform data, but can't access the cache clearing in Maintenance.

Actions

Also available in: Atom PDF