Details
-
Bug
-
Resolution: Fixed
-
Minor
-
COmanage Registry 0.3 (Basic Shape)
-
None
Description
In app_controller.php in the beforeRender() we have this:
if($req != 'Page') // Page doesn't have an actual model
$model = $this->$req;
It should instead be
if($req != 'Page' and $req != 'CakeError') // Page doesn't have an actual model
$model = $this->$req;
so that instances of CakeError can "get through".