Results 1 to 2 of 2

Thread: Promise does not support "catch" method for Ext.Ajax.request

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-23242 in 7.0.0.
  1. #1
    Sencha Premium User
    Join Date
    Dec 2016
    Toronto, Canada

    Default Promise does not support "catch" method for Ext.Ajax.request

    The Ext.Ajax.request method apparently returns a Promise like object according to the documentation here:

    Whilst doing ".then" works on the promise, following it up with ".catch" does not, with a non-existent method error being raised: (check the console).

    Ext version tested:

    • Ext

    Browser versions tested against:

    • Chrome 54.0.2840.59 (64-bit)

    The result that was expected:

    • Catch should be a valid method on the promise

    The result that occurs instead:

    • An error is raised because catch does not exist
    Last edited by [email protected]; 8 Dec 2016 at 9:18 AM. Reason: Tidy up

  2. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Sydney, Australia


    As it happens this was raised a couple of days ago here:

    We're going to add catch. Currently the method used is "otherwise".

Similar Threads

  1. Replies: 3
    Last Post: 29 Nov 2011, 9:00 AM
  2. New setup, getting "object doesnt support this property or method"
    By jjmiller1980 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 1 Jul 2011, 1:47 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts