Results 1 to 3 of 3

Thread: Ext.data.request.Ajax doesn't fire requestexception on failed requests (6.6.0)

    You found a bug! We've classified it as EXTJS-27682 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default Ext.data.request.Ajax doesn't fire requestexception on failed requests (6.6.0)

    When there's no service, and I send an http request, Chrome DevTools' Network panel shows a red entry with a status "(failed)". These requests normally triggered a requestexception prior to Ext JS 6.6.0 Classic.

    In Ext JS 6.6.0, the method Ext.data.request.Ajax-static-method-parseStatus has been modified which results in these requests being recognized falsely as successful.

    https://docs.sencha.com/extjs/6.6.0/...od-parseStatus

    The problem is that success:true is allowed when status is 0 and response length (len) is a number, but the new modifications set the len variable manually to 0 if responseType is 'json', which in turn probably depends on how the request is configured...

    So failed requests falsely result in successful response.

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005

    Default

    Thank you for bringing this to our attention. I have shared this with our support team to further look into.

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    568

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Parallel requests with Ext.Ajax.request
    By Ronits in forum Ext: Q&A
    Replies: 3
    Last Post: 1 Aug 2013, 8:10 AM
  2. Ext.data.TreeStore.fillnode error when ajax request failed
    By nglorieux in forum Sencha Touch 1.x: Bugs
    Replies: 0
    Last Post: 14 Oct 2011, 7:25 AM
  3. setActiveItem doesn't fire when inside Ext.Ajax.request
    By profunctional in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 16 Nov 2010, 2:43 PM

Posting Permissions

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