Ok, I've found the solution. The difference between Jobeet example and
my code was the primary key name. In Jobeet it's id, in my project
it's tablename_id. Doctrine understands, that id is a primary key and
thus numeric, but it doesn't recognize tablename_id as a key. So, my
url was matched with an object route /:module/:id/:action, because :id
wasn't filtered. And in Jobeet default route :module/:action was the
one to handle the url. Adding:
requirements:
  tablename_id: \d+

to the route solves the issue.

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