Feature #1511

Create a "Not Found" Controller

Added by Robert Lemke over 4 years ago. Updated over 2 years ago.

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

100%

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

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 about 4 years ago

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

Revision 6277226b
Added by Robert Lemke about 4 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

Updated by Robert Lemke over 4 years ago

  • Category set to MVC
  • Assignee set to Robert Lemke

Updated by Karsten Dambekalns about 4 years ago

  • % Done changed from 0 to 50

Updated by Robert Lemke about 4 years ago

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

Applied in changeset r1961.

Also available in: Atom PDF