symfony/propel: problem trying to add a new object action in a backend module
Posted
by
user248959
on Stack Overflow
See other posts from Stack Overflow
or by user248959
Published on 2010-12-22T22:58:30Z
Indexed on
2010/12/23
1:54 UTC
Read the original article
Hit count: 612
symfony
Hi,
i have created this model:
propel:
shop_orders:
orders_id: { phpName: Id, type: INTEGER, size: '11', primaryKey: true, autoIncrement: true, required: true }
email: { type: VARCHAR, size: '45', required: true }
Then i have generated an admin module and i have add this below to generator.yml:
config:
actions: ~
fields: ~
list:
object_actions:
foo: {}
When I click on the foo action It generates this url:
backend_dev.php/sp1/ListFoo/action?id=1
and I get this message:
Action "sp1/action" does not exist.
sf 1.4/propel
Any idea?
Javier
© Stack Overflow or respective owner