Results 1 to 2 of 2

Thread: setOptions error when request is cancelled.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    57
    Vote Rating
    1
      0  

    Default setOptions error when request is cancelled.

    In Ext JS v5.0.1


    At the end of the element loaders load method, the call to setOptions() causes an error if the request is cancelled. If the BeforeRequest event handler returns false to cancel the ajax request the call to setOpions() passes me.active which in this case is now undefined. When using a component loader which has a setOptions function that tries to set the removeAll property of active fails with a javascript error.

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Vote Rating
    255
      0  

    Default

    Hi,

    Would you be able to provide a test case either inline here or at https://fiddle.sencha.com so that we can test along with you?

Posting Permissions

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