Re: setFlash problems in Firefox

2008-04-29 Thread Dardo Sordi Bogado
Try updating cake. On Tue, Apr 29, 2008 at 4:25 PM, Teevio <[EMAIL PROTECTED]> wrote: > > If I delete the flash session at the end of the action then the > message doesn't show. But that seems backwards. > > > > On Apr 29, 3:15 pm, Teevio <[EMAIL PROTECTED]> wrote: > > Dang, I tried that and

Re: setFlash problems in Firefox

2008-04-29 Thread Teevio
If I delete the flash session at the end of the action then the message doesn't show. But that seems backwards. On Apr 29, 3:15 pm, Teevio <[EMAIL PROTECTED]> wrote: > Dang, I tried that and I still get the same thing.  I did find some > cases where that weird flash occurrence doesn't happen, bu

Re: setFlash problems in Firefox

2008-04-29 Thread Teevio
Dang, I tried that and I still get the same thing. I did find some cases where that weird flash occurrence doesn't happen, but I haven't been able to diagnose why. On Apr 29, 3:09 pm, Sliv <[EMAIL PROTECTED]> wrote: > I wonder if  the flash you're seeing is from the session > > tryhttp://bin.cak

Re: setFlash problems in Firefox

2008-04-29 Thread Sliv
I wonder if the flash you're seeing is from the session try http://bin.cakephp.org/saved/31534 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegr

Re: setFlash problems in Firefox

2008-04-29 Thread Sliv
try http://bin.cakephp.org/saved/31533 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EM

Re: setFlash problems in Firefox

2008-04-29 Thread Teevio
I removed the exit call and the expects function and made a test page. What's weird is that if the id is truly empty, the redirect works. But if the id exists the flash gets set, but the redirect does not get called. This happens in all cases where want to make sure the id passed to the page exi

Re: setFlash problems in Firefox

2008-04-29 Thread Sliv
6311 - Try without the exit call, as exit happens by default. On a side note, you should try out mariano's bindable behavior (newer) instead of expects (older). Another thing: does it happen on all redirects or just this one (i.e. try generating a basic page with bake and test) --~--~-~

Re: setFlash problems in Firefox

2008-04-29 Thread Teevio
Version 1.2.0.6311 beta PHP5 http://bin.cakephp.org/view/1575603249 On Apr 29, 2:15 pm, Sliv <[EMAIL PROTECTED]> wrote: > if(search_all_cake_resources === null) { >      echo 'exact version of the framework used'; >      echo 'php version'; >      $url = $this->pasteRelevantCode('http://bin.cake

Re: setFlash problems in Firefox

2008-04-29 Thread Sliv
if(search_all_cake_resources === null) { echo 'exact version of the framework used'; echo 'php version'; $url = $this->pasteRelevantCode('http://bin.cakephp.org'); echo $url; } --~--~-~--~~~---~--~~ You received this message because you are subs

setFlash problems in Firefox

2008-04-29 Thread Teevio
I have an interesting dilemma that occurs in Firefox with setFlash. I'm using the following code: if (empty($relatedRider['Rider']['id'])) { $this->Session->setFlash("That rider doesn't exist.", 'default', '', 'error'); $this->redirect('/dashboard/ conversa