Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-4020

[editor] Canceling query at wrong timing breaks the editor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: app.editor
    • Labels:
      None
    • Target Version:
    • Sprint:
      Jun 13 - July 1, 2016, Jul 5-22, 2016

      Description

      I use 'Sample: Salary growth' Impala example
      and keep clicking run/cancel, run/cancel at various speed.

      After a few tries I get a:

       _el.dataTable().fnDestroy();
      
      
      jquery.dataTables.1.8.2.min.js:150 Uncaught TypeError: Cannot read property 'asSorting' of undefined(anonymous function) @ jquery.dataTables.1.8.2.min.js:150each @ jquery-2.1.1.min.js:2each @ jquery-2.1.1.min.js:2i.fn.dataTable @ jquery.dataTables.1.8.2.min.js:139createRegularDatatable @ editor?editor=51597:5135createDatatable @ editor?editor=51597:5235(anonymous function) @ editor?editor=51597:6138
      jquery.dataTables.1.8.2.min.js:131 Uncaught TypeError: Cannot read property 'parentNode' of nullfnDestroy @ jquery.dataTables.1.8.2.min.js:131(anonymous function) @ jquery.dataTables.1.8.2.min.js:139each @ jquery-2.1.1.min.js:2each @ jquery-2.1.1.min.js:2i.fn.dataTable @ jquery.dataTables.1.8.2.min.js:139createRegularDatatable @ editor?editor=51597:5135createDatatable @ editor?editor=51597:5235(anonymous function) @ editor?editor=51597:6138
      jquery.dataTables.1.8.2.min.js:131 Uncaught TypeError: Cannot read property 'parentNode' of nullfnDestroy @ jquery.dataTables.1.8.2.min.js:131(anonymous function) @ editor?editor=51597:6098dispatch @ jquery-2.1.1.min.js:3r.handle @ jquery-2.1.1.min.js:3trigger @ jquery-2.1.1.min.js:3(anonymous function) @ jquery-2.1.1.min.js:3each @ jquery-2.1.1.min.js:2each @ jquery-2.1.1.min.js:2trigger @ jquery-2.1.1.min.js:3Snippet.self.execute @ notebook.ko.js?bust=1464901005122:609(anonymous function) @ knockout.min.js?bust=1464901005122:89dispatch @ jquery-2.1.1.min.js:3r.handle @ jquery-2.1.1.min.js:3
      jquery.dataTables.1.8.2.min.js:131 Uncaught TypeError: Cannot read property 'parentNode' of nullfnDestroy @ jquery.dataTables.1.8.2.min.js:131(anonymous function) @ jquery.dataTables.1.8.2.min.js:139each @ jquery-2.1.1.min.js:2each @ jquery-2.1.1.min.js:2i.fn.dataTable @ jquery.dataTables.1.8.2.min.js:139createRegularDatatable @ editor?editor=51597:5135createDatatable @ editor?editor=51597:5235(anonymous function) @ editor?editor=51597:6138
      jquery.dataTables.1.8.2.min.js:131 Uncaught TypeError: Cannot read property 'parentNode' of nullfnDestroy @ jquery.dataTables.1.8.2.min.js:131(anonymous function) @ editor?editor=51597:6098dispatch @ jquery-2.1.1.min.js:3r.handle @ jquery-2.1.1.min.js:3trigger @ jquery-2.1.1.min.js:3(anonymous function) @ jquery-2.1.1.min.js:3each @ jquery-2.1.1.min.js:2each @ jquery-2.1.1.min.js:2trigger @ jquery-2.1.1.min.js:3Snippet.self.execute @ notebook.ko.js?bust=1464901005122:609(anonymous function) @ knockout.min.js?bust=1464901005122:89dispatch @ jquery-2.1.1.min.js:3r.handle @ jquery-2.1.1.min.js:3
      jquery.dataTables.1.8.2.min.js:131 Uncaught TypeError: Cannot read property 'parentNode' of nullfnDestroy @ jquery.dataTables.1.8.2.min.js:131(anonymous function) @ jquery.dataTables.1.8.2.min.js:139each @ jquery-2.1.1.min.js:2each @ jquery-2.1.1.min.js:2i.fn.dataTable @ jquery.dataTables.1.8.2.min.js:139createRegularDatatable @ editor?editor=51597:5135createDatatable @ editor?editor=51597:5235(anonymous function) @ editor?editor=51597:6138
      

      Fixed with the new hue table?

        Attachments

          Activity

            People

            • Assignee:
              enricoberti Enrico Berti
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: