Issue Bug Closed

#93887Ext:Form Caching Determination breaking Ajax Request

Heiko Fischer 04/09/21, 07:36 updated 12/22/24, 22:30

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?

Reviews 8