PDA

View Full Version : [OPEN- EXTJSIV-266] root is undefined [Break On This Error] total = root.length,



oe.elvik
16 Mar 2011, 6:09 AM
When sending a DELETE or PUT request through a RestProxy extjs 4 seems to expect the deleted or altered record in return ("{success: "true", data: [{id: ... }]}") or it will fail. I would expect it to be enough to send a 200 OK response or {success: "true"}.

Subsequent calls to DELETE then results in the delete requests being sent to the first url ("resource/[idOfFirstEntity]")

oe.elvik
23 Mar 2011, 1:58 AM
Is it the intention that a restproxy Delete request wil require your response to contain the deleted record, or is this a bug you are goung to address?