Development

#5797 (Problem with sfDoctrineRouteCollection and POST requests)

You must first sign up to be able to contribute.

Ticket #5797 (new defect)

Opened 4 years ago

Last modified 11 months ago

Problem with sfDoctrineRouteCollection and POST requests

Reported by: theredled Assigned to: fabien
Priority: major Milestone:
Component: sfDoctrinePlugin Version: 1.2.1
Keywords: Cc:
Qualification: Unreviewed

Description

With sfDoctrineRouteCollection and the Admin Generator, you cannot send POST requests to wildcard routes like /some_module/3/my_own_action .

Requirement "sf_method" seems to be [get] for this type of route.

Change History

02/26/09 22:41:36 changed by Jonathan.Wage

  • owner changed from Jonathan.Wage to fabien.

07/06/12 05:24:53 changed by glerendegui

Quick fix: change lib/routing/sfObjectRouteCollection.class.php - getRouteForEdit() method. Add post to sf_method requirement. Clear cache.