The admin generator generates the following route
language_talen:
class: sfDoctrineRouteCollection
options:
model: Language
module: talen
prefix_path: talen
column: code
with_wildcard_routes: true
for table Language which has a non-integer primary key
Language:
tableName: languages
columns:
code: { type: string(2), fixed: true, primary: true }
languagename: string(50)
The above route is not recognised and in my case the routing reverts to the default route where the code field is then interpreted as an action, which does not exist of course.
When i modify the route to:
language_talen:
class: sfDoctrineRouteCollection
requirements: { code: \w+ }
options:
model: Language
module: talen
prefix_path: talen
column: code
with_wildcard_routes: true
everything works fine.