comanage-dev - Re: [comanage-dev] beforeRender() condition in app_controller.php
Subject: COmanage Developers List
List archive
- From: Benn Oshrin <>
- To: Scott Koranda <>
- Cc:
- Subject: Re: [comanage-dev] beforeRender() condition in app_controller.php
- Date: Tue, 11 Oct 2011 16:59:38 -0400
Incidentally, feel free to cut a ticket and then bring to -dev. If we decide it's not an actual issue, we can always flag WONT FIX. I don't think we're in danger of running out of issue numbers :)
On 10/11/11 4:56 PM, Scott Koranda wrote:
Sounds good to me. Can you cut a ticket and assign it to yourself
before fixing?
Wilco.
On 10/11/11 1:37 PM, Scott Koranda wrote:
Hi,
I app_controller.php in the beforeRender() function I see
this:
if($req != 'Page') // Page doesn't have an actual model
$model = $this->$req;
Should this 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"? Without that
change then the error that I see always happens at the line
$model = $this->$req;
Scott
- [comanage-dev] beforeRender() condition in app_controller.php, Scott Koranda, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Benn Oshrin, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Scott Koranda, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Benn Oshrin, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Scott Koranda, 10/11/2011
- Re: [comanage-dev] beforeRender() condition in app_controller.php, Benn Oshrin, 10/11/2011
Archive powered by MHonArc 2.6.16.