Feature #2816

Implement redirect to action

Added by Robert Lemke over 6 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2009-03-10
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:MVC
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 1
PHP Version: Complexity:
Has patch:

Description

The Abstract Controller currently provides a method "redirect" which allows for redirecting to a specified URI. The more common requirement however is to redirect to a certain action / controller / package. Therefore redirect() should take the same (or at least similar) arguments like forward() and an additional method redirectToURI() should be implemented.

Associated revisions

Revision 7eefaecb
Added by Karsten Dambekalns over 6 years ago

FLOW3:
  • renamed redirect() to redirectToURI() in AbstractController
  • implemented redirect() to behave like forward(), fixes #2816
  • arguments to MVC requests are arrays now, no longer ArrayObject

Revision f802c0e4
Added by Robert Lemke over 6 years ago

  • FLOW3: (MVC) Added 'delay' and 'statusCode' as arguments for the new redirect() action. Relates to #2816
  • Fluid: Quickfix for the FormViewHelper so it at least doesn't cause fatal exceptions.

History

#1 Updated by Karsten Dambekalns over 6 years ago

  • Status changed from New to Accepted
  • Priority changed from Should have to Must have

Won at T3BOARD09 bug auction by network publishing

#2 Updated by Karsten Dambekalns over 6 years ago

  • Assigned To set to Karsten Dambekalns

#3 Updated by Karsten Dambekalns over 6 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2094.

Also available in: Atom PDF