Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

404s ActionController::notFound should not modify the route match #2464

@zfbot

Description

@zfbot

Jira Information

Original Issue:ZF2-223
Issue Type:Bug
Reporter:omerida
Created:03/14/12
Assignee:weierophinney
Components:Zend\Mvc

Description

Raising a 404 in a controller by calling notFound causes the view layer to look for the wrong template.

It shouldn't modify the routematch. Per weirophinney:

"We need to alter this to not modify the route match; it's a bad practice
stemming from the hack we used for view rendering prior to introducing
the new view layer. "

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions