I 'm reading the cookbook but I seems that for the definition of model
is equal to cake 1.1. for recursive and finderQuery but in 1.2 my
model doesn't work
I have set the debug on 3.
First Question:
And for example the recursive queries aren't executed.
Second Question
The finderQuery is executed.
I have controlled the query directly on mysql and it returns  correct
result. But in the model the HABTM is empty.


If I must control direcly on core code i will become crazy.



On 13 Mag, 11:10, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Well, 1.2 has a lot of differences from 1.1, so I guess your best
> friends are the API for 1.2 and the Cookbook.
>
> http://api.cakephp.org/1.2/classes.htmlhttp://book.cakephp.org/complete/3/the-manual
>
> Just go step by step and figure out what has changed.
>
> On May 13, 10:39 am, "[EMAIL PROTECTED]"
>
>
>
> <[EMAIL PROTECTED]> wrote:
> > I try to pass my application to cake 1.2.(I used 1.1.13)
> > I have found that my application that in cake 1.1.13 works perfecty
> > now in cake 1.2 it doesn't work anything.
> > I have two questions about this:
>
> > First:
> > In my application I have models with HABTM relation that was created
> > by finderQuery and not by joinTable
> > Now in cake q.2  these models gives me  always error because the join
> > table doesn't exist.
> > How can I resolve this?
>
> > Second:
> > Is it change the use of recursive option between 1.1.13 and 1.2 ?
> > Because now if I use this option
> > in my controller like
>
> > [CODE]
> > $this->User->recursive=2;
> > $utente = $this->User->findAll();
> > [/CODE]
>
> > I get always the first level of association of model User.
>
> > Can anyone  help me?- Nascondi testo tra virgolette -
>
> - Mostra testo tra virgolette -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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