When dev doesnt match prod, you should always clear the chache.

php symfony cc

If you already did it, please let us know ;)

2010/12/6 Javier Garcia <tirengar...@gmail.com>

>  Hi,
>
> I have these models:
>
>  user:
>    name:  { type: varchar(255) }
>    age:   { type: integer }
>
>  article:
>    title:        { type: varchar(255) }
>    content:      { type: varchar(255) }
>    user_id:      { type: varchar(255) }
>
> I have this generator.yml
>
>      list:
>        display:     [title, age]
>        peer_method: getArticles
>
> The method getArticles is this:
>
>    public static function getArticles()
>    {
>        $con = Propel::getConnection();
>        $sql = "select * from article LEFT JOIN user ON article.user_id =
> user.id";
>        $stmt = $con->prepare($sql);
>
>
>        $result = $stmt->execute();
>        $articles = self::populateObjects($stmt);
>
>        return $articles;
>
>    }
>
> When I go to the module "article" in the backed, I expected it shows an
> error saying the method Article::getAge() doesn't exist, but it doesn't show
> anything...The browser just says "Loading...".
>
> Any idea?
>
> I'm the dev enviroment and i have just created a new project.
>
> I'm using propel.
>
> --
> Javi
>
> Ubuntu 10.04, sf 1.4
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to