Hi Eric, Wild guess - it could be something related to the method of the request (i.e. it matches with a GET method but not with a POST method or maybe with a PUT method, which is used on update forms in symfony). Try adding this to the route requirements:
sf_method: [get,post,put] And see if you have any luck. Kind Regards, Campezzi On Jun 3, 12:23 pm, Eric <[email protected]> wrote: > Hi, > > I have a form and I use the following route as url: > > --- routing.yml > messages_view_conversation_update: > url: /messages/reply/:id/update > # class: sfDoctrineRoute > options: { model: Conversation, type: object } > param: { module: messages, action: reply, id: 1 } > requirements: > id: \d+ > > --- _form.php > <form action="<?php echo url_for('messages_view_conversation_update', > $conversation) ?>" method="post"> > > This works as expected. But once I uncomment sfDoctrineRoute, it does > not match any more (form is displayed correctly with url but once I > submit it, it matches /:action/:method/*). > > Can you tell me why this happens and how I can fix this? > > Regards > > Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
