Bug #42562

Interrupt form rendering when redirect finisher is triggered

Added by Martin Brüggemann almost 3 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2012-10-31
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:-
Target version:-

Description

There's a bug, that outputs content while a POST request is beeing processed by Flow. There should only be one redirect to the show action after the POST request has been processed. Otherwise it's very strange to see the "old" content after the POST data has been sent (f.e. after having added a comment but it's not there after the first redirect).

Associated revisions

Revision 94051a11
Added by Bastian Waidelich almost 2 years ago

[BUGFIX] Make RedirectFinisher interact with main response

This makes sure that redirection headers & content are set in the
main Response object not in the SubResponse of the Form runtime.

This avoids flickering and invalid HTML.

Change-Id: Ide095f358277f9787d54ff14fe9f4e32a7a6b06b
Fixes: #42562

History

#1 Updated by Bastian Waidelich almost 3 years ago

  • Subject changed from Do not output content while processing a POST request to Interrupt form rendering when redirect finisher is triggered
  • Status changed from New to Accepted
  • Priority changed from Must have to Should have

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16151

#3 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24935

#4 Updated by Bastian Waidelich almost 2 years ago

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

Also available in: Atom PDF