Feature #2816

Implement redirect to action

Added by Robert Lemke over 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Must have
Category:
MVC
Start date:
2009-03-10
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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 (diff)
Added by Karsten Dambekalns over 10 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 (diff)
Added by Robert Lemke over 10 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 10 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 10 years ago

  • Assignee set to Karsten Dambekalns

#3 Updated by Karsten Dambekalns over 10 years ago

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

Applied in changeset r2094.

Also available in: Atom PDF