Here is the thread from irc.  Read it to become enlightened!

PhpNut> https://trac.cakephp.org/timeline 01/08/08
        <PhpNut>        somewhere around that date pretty sure I fixed it
        <AD7six>        
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/model/model.php#L1276
        <AD7six>        leveille: if you use the branch code you are set. 
PhpNut is,
like for many, your hero
        <leveille>      PhpNut: Did you ever know that you're my hero. You're
everything I would like to be
        <PhpNut>        leveille: get in line, I am a lot of peoples hero
        <leveille>      AD7six: PhpNut: Thanks guys.
        <gwoo>  leveille you clearly do not PhpNut well enough
        <AD7six>        gwoo: do you PhpNut very well
        <PhpNut>        leveille and AD7six : 
https://trac.cakephp.org/changeset/6317
        <gwoo>  AD7six: unfortunately
        <AD7six>        it's great to have a verb named after you
        <leveille>      funny stuff
        <leveille>      I just started with cake 3 days ago. I've listed to all
but one podcast. I'm just learning who these guys are.
        <pr_>   I'm doing a $session->check('Auth.User.id') in my login helper
and it yields a fatal error ->
        <pr_>   "Fatal error: Can't use method return value in write context".
What could be the problem?
        <PhpNut>        cool
        <leveille>      I'm getting hooked
        <leveille>      thanks again.
        <PhpNut>        drink the kool-aid
        <LemonNotGeoff_>        I have a model Article which has a table 
'articles',
how can i write data to the 'articles_history' table from within the
beforeSave callback?
        <leveille>      love the naming: 'core.primary_model',
'core.secondary_model', 'core.something', 'core.something_else',
'core.join_thing'
        <Soul88>        Hello all. I've got a problem with obAuth component: I 
can't
get the component to work correctly. For some reason I can't get the
authentication to stay logged in. When I login in it takes me to the
correct default page, but when I try to navigate anywhere else or
refresh the same default page I am redirected to login as if I was
never logged in.
        <Soul88>        Any ideas?
        <PhpNut>        leveille: must come from Java...
        <leveille>      PhpNut: me? Not a chance.
        <AD7six>        LemonNotGeoff $this->ArticleHistory->save($stuff);
        <LemonNotGeoff_>        hmm i need to create the actual model?
        <booch> Good morning everyone!

On Jan 9, 10:15 pm, leveille <[EMAIL PROTECTED]> wrote:
> 1.2 beta
>
> Following is the sql file I am working from:  http://pastebin.com/f5d3d7ec5
>
> After I bake my MVC files and add a user, it is apparent that when
> save reaches the second HABTM association for my model it attempts to
> save data from my first HABTM association, as well as data from my
> second association.  You can get a good idea of exactly what I'm
> talking about by importing my sql file, and baking.  Comment out the
> redirect in the add action, and pay very close attention to the
> warning that you will see, and/or to the generated sql.
>
> If you don't feel like trying to reproduce this issue, you can check
> out my working reproduction athttp://fuzz3.my-classes.org/users/.
> Add a user and select the first item from the shirt and shoe select
> box.  Notice the error.  Again, add another user, but this time select
> the first item from the shirt select box and the second item from
> shoes.  Take a look at the generated sql.
>
> If you do attempt to reproduce this issue on your own box be sure to
> add some shirts and shoes!
>
> I want to be very clear here that I baked, commented out the redirect
> in the add action, and that was it.  So, am I being an idiot or is
> this an issue with saving multiple HABTM associations in 1.2 beta?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to