Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2009
    Location
    Bucharest, Romania
    Posts
    70
    Vote Rating
    0
    icflorescu is on a distinguished road

      0  

    Default [FIXED]Ext.data.Model.destroy() missing

    [FIXED]Ext.data.Model.destroy() missing


    This is probably a well known issue but I just wanted to add a reminder...

    Calling destroy() on a model instance does nothing and throws no error; it just ends up in an empty function call in Ext.Base.

    Hopefully we'll see it implemented in the next dev preview

  2. #2
    Ext JS Premium Member
    Join Date
    Jul 2008
    Location
    New Zealand
    Posts
    91
    Vote Rating
    3
    Greendrake is on a distinguished road

      0  

    Default


    Yes it has been reported. I hoped it will be implemented in PR3 but it's not.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    106
    Vote Rating
    2
    wizkid is on a distinguished road

      0  

    Default


    +1 From me, to get this fixed in the next preview (release 4)! I need this to complete my proof of concept.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,995
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    A destroy method has been added.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Sencha User
    Join Date
    Oct 2009
    Location
    Bucharest, Romania
    Posts
    70
    Vote Rating
    0
    icflorescu is on a distinguished road

      0  

    Default


    Excellent news, thank you!

  6. #6
    Sencha User
    Join Date
    Apr 2011
    Posts
    1
    Vote Rating
    0
    originator is on a distinguished road

      0  

    Question destroy method doesn't use DELETE

    destroy method doesn't use DELETE


    Hi,

    I'm trying Ext.data.Model.

    Docs say that Model.destroy uses DELETE request, but actually it uses GET request so I can't distinguish load and destroy on server side. Is it a bug or I'm doing something wrong?

    ExtJS version is 4.0.0.

    thank you.

Similar Threads

  1. [FIXED]Bug in Ext.data.Model.setProxy()
    By n3rd in forum Ext:Bugs
    Replies: 1
    Last Post: 9 Mar 2011, 1:33 AM
  2. Model.destroy() does not work
    By Mike Mandel in forum Ext: Discussion
    Replies: 2
    Last Post: 28 Feb 2011, 3:21 PM
  3. [FIXED]Missing Ext.data.TreeStore
    By dorgan in forum Sencha Touch 1.x: Bugs
    Replies: 7
    Last Post: 1 Oct 2010, 7:01 AM
  4. [FIXED-187] The model data become undefined.
    By taka_2 in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 14 Aug 2010, 5:18 AM
  5. Replies: 2
    Last Post: 27 May 2009, 6:14 PM

Thread Participants: 4