Thursday, March 14, 2013

Re: Bug in CakeSession class

The value of self::started() can be "true" later on, when session is actually started, right?
https://github.com/cakephp/cakephp/blob/master/lib/Cake/Model/Datasource/CakeSession.php#L187

I don't think it's a bug.

On Wednesday, March 13, 2013 1:26:19 AM UTC+1, Eduardo Barbosa Moreira wrote:
There is an inconsistent logic in method start() in CakeSession class (lib/Model/DataSource/CakeSession.php):

at line 192

if (!$id && self::started())

the value of self::started() is never "true" because it was tested at line 183
:

if
(self::started()) {
return true;
}


How can i report this bug?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: