Project

General

Profile

Actions

Bug #12094

closed

[Fluid] Ajax Widgets can't be used from within cachabele actions

Added by Thomas Maroschik over 13 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2011-01-11
Due date:
% Done:

100%

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

Description

Problem

When using a Fluid Ajax Widget on a cachable controller action, then fluid-widget-id is cached in template output. Since fluid-widget-id is bound to an individual fe_user, the fluid-widget-id won't get updated upon every request.

Sometimes you want be able to fetch cached data via Ajax.

Solution

Check if the stored action in Widget Context is cacheable. If yes, then save the context with AjaxWidgetContextHolder to a cache instead of the session.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92529: Remove fluid widgetsClosed2020-10-09

Actions
Actions

Also available in: Atom PDF