Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    46
    Vote Rating
    0
    oe.elvik is on a distinguished road

      0  

    Default [OPEN- EXTJSIV-266] root is undefined [Break On This Error] total = root.length,

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


    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]")

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    46
    Vote Rating
    0
    oe.elvik is on a distinguished road

      0  

    Default


    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?

Similar Threads

  1. Replies: 1
    Last Post: 21 Mar 2011, 7:30 AM
  2. [FIXED]Model root is undefined error
    By sg707 in forum Ext:Bugs
    Replies: 7
    Last Post: 15 Mar 2011, 5:14 AM
  3. Replies: 0
    Last Post: 17 Dec 2010, 5:41 AM
  4. [Solved]root is undefined - json error
    By michaelc in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 24 Sep 2010, 2:09 AM
  5. [Solved]Ext.data.JsonStore giving a "root is undefined" error.
    By nickweavers in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 26 Dec 2009, 11:05 AM