Project

General

Profile

Actions

Bug #93887

open

Ext:Form Caching Determination breaking Ajax Request

Added by Heiko Fischer about 3 years ago. Updated 10 months ago.

Status:
New
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2021-04-09
Due date:
% Done:

100%

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

Description

With Typo3 10.4.14 was a new method "isRenderedCached()" introduced in TYPO3\CMS\Form\Domain\Runtime. This method returns true on:

"$contentObject->getUserObjectType() === ContentObjectRenderer::OBJECTTYPE_USER"

We use an Ajax call for our Form Requests and the Extension helhum/typoscript_rendering for rendering a typoscript path. This extension uses a USER object. The above comparison statement determinates therefore our call as cached while it is not.

While this might be an issue with the helhum/typoscript_rendering extension and needs a change there, we find that comparison suspicious. Can anyone please explain why a USER object should always be cached?


Files

form_caching_tests.zip (24.3 KB) form_caching_tests.zip Ralf Zimmermann, 2021-08-12 19:00
Capto_Capture 2021-10-22_04-49-32_PM.mp4 (5.36 MB) Capto_Capture 2021-10-22_04-49-32_PM.mp4 see https://review.typo3.org/c/Packages/TYPO3.CMS/+/70460/26#message-94def7c7f7bfbe4ad9d2260f33be231dbb7bbbee Oliver Hader, 2021-10-22 15:31

Related issues 6 (2 open4 closed)

Related to TYPO3 Core - Feature #91419: Disable caching on a per form basisUnder Review2020-05-16

Actions
Related to TYPO3 Core - Bug #98222: Inconsistent form rendering after #93887Closed2022-08-29

Actions
Related to TYPO3 Core - Bug #98084: Honeypot not wokring anymore?New2022-08-05

Actions
Related to TYPO3 Core - Bug #98336: Revert modified cache handling in form frameworkClosed2022-09-12

Actions
Precedes TYPO3 Core - Bug #97977: New EXT:form request handling hides current ContentObjectRendererClosed2021-04-122021-04-12

Actions
Precedes TYPO3 Core - Bug #98023: custom prototypes cannot be appliedClosedRalf Zimmermann

Actions
Actions

Also available in: Atom PDF