Hi,
in a project, I am doing basically the same as in the Jobeet Day 5. I
have created the slugify methods and everything works fine there. When
I navigate to one article, this code

$this->article = $this->getRoute()->getObject();

returns an instance of sfOutputEscaperIteratorDecorator and not
Article.

I tried to replicate this using the Jobeet tutorial, but I did not
find the svn for the Doctrine part.

Looking into the code, in sfDoctrineRoute.class.php - line 81, all the
variables (of which title_slug is the only one in my case) are checked
whether they are columns. I did not find any reference to using the
title_slug as a method call on Article at all - am I missing
something, and if yes, what?

Looking at my log, I see that the route is interpreted correctly but
the resulting SELECT just selects everything:

Match route "news_show" (/news/:title_slug) for /news/batman-begins-
today with parameters array (  'module' => 'news',  'action' =>
'show',  'title_slug' => 'batman-begins-today',)
 SELECT * FROM article a

Any idea how I can solve this?

juro
--~--~---------~--~----~------------~-------~--~----~
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