ZF-11564: ExtJS 4 REST proxy and Zend framework Zend_Rest_Route are incompatible

Issue Type: Bug Created: 2011-07-14T16:57:49.000+0000 Last Updated: 2011-08-05T19:05:50.000+0000 Status: Open Fix version(s): Reporter: Yiyu Jia (yiyu_jia) Assignee: Luke Crouch (lcrouch) Tags: - Zend_Rest_Route

  • ExtJS
  • zend_rest_route

Related issues: Attachments:



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.…

thanks and regards,

Yiyu Jia


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.

  1. Create a ExtJs Rest proxy that structures the url into the format that Zend requires by default. I have documented this second approach here:…

Hope this helps...

Regards, Mark

Posted by Luke Crouch (lcrouch) on 2011-08-05T19:05:50.000+0000

Zend_Rest_Route should support http:/{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?

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.