Re: find problem on the associated model

2006-07-20 Thread [EMAIL PROTECTED]
yes the executions table isn't included in the applications query. I will try your code but mine should work, shouldn't it ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, s

Re: find problem on the associated model

2006-07-05 Thread AD7six
Hi wluigi, Set debug to 2 and you will almost certainly see that the execution table isn“t included in the Application query. As you are looking for a specific Execution, why not restructure your code to be of the form: $ExecutionData=$this->Application->Execution->findById($ExecutionId); $appli

Re: find problem on the associated model

2006-07-05 Thread [EMAIL PROTECTED]
anyone ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more opti

Re: find problem on the associated model

2006-07-04 Thread [EMAIL PROTECTED]
yes and an other applications --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PRO

Re: find problem on the associated model

2006-07-04 Thread ShepherdWeb
I'm assuming you do actually have a table called executions...right? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe fr

find problem on the associated model

2006-07-04 Thread [EMAIL PROTECTED]
I I'm trying to query all my applications with a condition on their associated executions (hasMany relationship). Adding this condition cause an SQL error: SQL Error in model Application: 1109: Unknown table 'Execution' in where clause But this seems to work when I query my executions with a con