Feature #1511

Create a "Not Found" Controller

Added by Robert Lemke about 11 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
MVC
Target version:
-
Start date:
2008-09-14
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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

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

Revision 6277226b (diff)
Added by Robert Lemke over 10 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 about 11 years ago

  • Category set to MVC
  • Assignee set to Robert Lemke

#2 Updated by Karsten Dambekalns over 10 years ago

  • % Done changed from 0 to 50

#3 Updated by Robert Lemke over 10 years ago

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

Applied in changeset r1961.

Also available in: Atom PDF