Results 1 to 2 of 2

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

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jan 2008
    Posts
    19
    Vote Rating
    0
      0  

    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
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    624
    Vote Rating
    -303
      0  

    Default

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

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
  •