Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3190

[extJS 6.7] Check all beforeload/load listeners

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • 4.3.0
    • None
    • None
    • 4.3 M1

      Since ExtJS 6.7, when a load of a store is cancelled by returning false into a on "beforeload" listener, the on "load" listeners are still called, whereas in ExtJS 6.5 it wasn't.

      It could lead to some errors into on "load" listeners.

      For a "load" potentially canceled by a "beforeload" listener, we now have to check the 3rd operation arguments and test its "aborted" property. If operation.aborted is true, do nothing.

       

            cbayle Caroline Bayle
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: