Wednesday, March 13, 2013

Re: Bug in CakeSession class

On Tue, Mar 12, 2013 at 8:26 PM, Eduardo Barbosa Moreira
<eduardobm@gmail.com> 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;
> }

Yeah, I'd say that one doesn't require a unit test to prove. It's in
the latest stable (2.3.1) and goes back to 2.0, when CakeSession first
appeared.

> How can i report this bug?

You can log a ticket here:

https://cakephp.lighthouseapp.com/tickets

You should search first to see if there's already an open ticket.

--
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: