ZF-11564: ExtJS 4 REST proxy and Zend framework Zend_Rest_Route are incompatible
Description
Hi,
I find that ExtJS 4 REST proxy and Zend framework Zend_Rest_Route are incompatible. Basically, it is because Ext JS Rest proxy append base url with record ID. Therefore, it causes Zend Framework to route POST request to PUT action. I put detailed report in the following URL.
http://yiyujia.blogspot.com/2011/07/…
thanks and regards,
Yiyu Jia
Comments
Posted by Frere Mark (freremark) on 2011-08-05T18:21:49.000+0000
This could be resolved in potentially two ways... 1. Create a custom Zend router that understands Extjs url format.
Hope this helps...
Regards, Mark
Posted by Luke Crouch (lcrouch) on 2011-08-05T19:05:50.000+0000
Zend_Rest_Route should support http:/www.example.com/{module}/{controller}/{idvalue}
So is this making a POST request to a /{idvalue} URL to create a new resource, or append to an existing /{idvalue} resource?