Bug #75747

EXT:form - predefined forms issues with caching

Added by Bjoern Jacob over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2016-04-18
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The predefined forms functionality - introduced in #72309 - is not working as expected. Since the object is not of type FORM_INT anymore, the object is cached heavily.

In TYPO3\CMS\Form\Hooks\ContentObjectHook the "FORM" CE has to be rendered as COA_INT, to prevent caching.

The following steps reproduce the problem:

  • Create a new form with "confirmation = 1" and a mail postProcessor.
  • Fill out the form and go to the confirmation page.
  • Go back to the form.
  • Submit again to see the confirmation page.
  • Submit the confirmation page.
  • Expected result: The form is submitted and a mail is sent.
  • Actual result: The form is shown again. No mail is submitted.

Associated revisions

Revision 38c65654 (diff)
Added by Ralf Zimmermann over 3 years ago

[!!!][BUGFIX] EXT:form - Resolve caching issues with predefined forms

The FORM content object is now introduced, which EXT:form is using
internally to call extbase and set itself as a non-cacheable cObject.

This way, caching issues with predefined forms are resolved.

Additionally, support for EXT:compatibility6 is dropped.

Resolves: #75747
Releases: master
Change-Id: If5816b1df146706f4149874a0cacc4d2fedbea2d
Reviewed-on: https://review.typo3.org/47752
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#3 Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#4 Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#5 Updated by Gerrit Code Review over 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#6 Updated by Gerrit Code Review over 3 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#7 Updated by Gerrit Code Review over 3 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#8 Updated by Gerrit Code Review over 3 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#9 Updated by Gerrit Code Review over 3 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#10 Updated by Gerrit Code Review over 3 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47752

#11 Updated by Ralf Zimmermann over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#12 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF