Feature #1511

Create a "Not Found" Controller

Added by Robert Lemke almost 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-09-14
Priority:Must have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:MVC
Target version:-
PHP Version: Complexity:
Has patch:

Description

Currently a "No such controller" exception is thrown if a matching controller is not found. This exception should either be catched or removed and transformed into a redirection to a 404 Not Found controller.

There should be a default 404 controller and the ability to easily define a custom view or whole controller.

Associated revisions

Revision 0a852562
Added by Karsten Dambekalns over 6 years ago

FLOW3:
  • added (simple) NotFoundController, refs #1511
  • some tiny cleanup

Revision 6277226b
Added by Robert Lemke over 6 years ago

  • FLOW3: (MVC) Moved the logic for the NotFound mechanism from the dispatcher into the request.
  • FLOW3: (MVC) Wrote test case for the NotFoundController fallback
  • FLOW3: (MVC) Improved the NotFoundView a bit
  • FLOW3: (MVC) Made the object name of the NotFoundController configurable in the FLOW3 settings.

Resolves #1511.

History

#1 Updated by Robert Lemke almost 7 years ago

  • Category set to MVC
  • Assigned To set to Robert Lemke

#2 Updated by Karsten Dambekalns over 6 years ago

  • % Done changed from 0 to 50

#3 Updated by Robert Lemke over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 50 to 100

Applied in changeset r1961.

Also available in: Atom PDF