jerfowler / KO3_FirePHP

Kohana (KO3) FirePHP Module
23 stars 5 forks source link

Kohana Redirects #1

Open Webthink opened 14 years ago

Webthink commented 14 years ago

Messages that occur before a redirect are never displayed and messages that occur on pages after a redirect are displayed twice.

so if we have //controller 1 fire::log("redirecting"); Request::instance()->redirect('controller2');

//controller 2

fire:log("now we're here");

you'll see "now we're here" twice.

Maybe this an inherent problem with the way firePHP is tied to request headers? I thought I would bring it to your attention anyway.

Webthink commented 14 years ago

Seems it may be a firePHP problem. Here is a forum firePHP discussion not sure if it ever resulted in an tracked-issue or fix. http://firephp.842658.n2.nabble.com/Redirects-and-Messages-tp4597176.html

Webthink commented 14 years ago

Another update :) I created a ticket http://code.google.com/p/firephp/issues/detail?id=146 to track the issue. If/when it gets fixed it'll obviously result in you needing to replace your vendor code with the new version.

I'll keep an eye on it and let you know.

jerfowler commented 14 years ago

Thanks for the update!