[symfony-users] Re: Functional Test : click....

2011-01-20 Thread benM
Hi Benoit, There's a mistake, it's not 27 but 22, because if you did exactly what Jobeet said, you have "and 22 more..." On 14 jan, 13:32, benoitW wrote: > I have to say it works fine when I replace that number 27 by > 'Programming'... > > On 14 jan, 12:03, benoitW wrote: > > > Hi all, > > >

[symfony-users] sf1.4.9 : schema.yml relations article and sfGuardUser

2011-02-16 Thread benM
Hello, I want to set relation between user_id in Article table and id sfGuardUser table. my schema.yml : Article: actAs: Timestampable: ~ columns: id: type: integer primary: true autoincrement: true user_id: string(255) titre: string(255) incipit : clob

[symfony-users] Re: sf1.4.9 : schema.yml relations article and sfGuardUser

2011-02-17 Thread benM
Yes, of course, should be integer... Thank you, it works. On 16 fév, 19:02, Roman Gnatyuk wrote: > >     user_id: string(255) > > should be user_id: integer>   relations: > >     sfGuardUser: > >       foreignType: one > > try: > >    relations: >      sfGuardUser: >        foreignType: one >    

[symfony-users] Doctrine findOneBy and leftJoin

2011-02-17 Thread benM
Hi all, I have a class named CorpUserRememberKeyTable by Doctrine which content is like : public static function getInstance() { return Doctrine_Core::getTable('CorpUserRememberKey'); } public function myFindOneByRememberKey($remember_key) { $q = $this->createQu