HUE-1883 [beeswax] Query with expired result will break the editor

Review Request #4040 - Created Jan. 16, 2014 and submitted

Abraham Elmahrek
old-hue-rw
HUE-1883
hue
enricoberti, romain
commit 5f1fd0bd59b6d2656b104ebe2c31681b7182fc55
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Thu Jan 16 16:30:10 2014 -0800

    HUE-1883 [beeswax] Query with expired result will break the editor
    
    Add Javascript to handle the errors.
    Also expire queries.

:100644 100644 a9c58ee... eca73d1... M	apps/beeswax/src/beeswax/api.py
:100644 100644 15f1536... cf11bce... M	apps/beeswax/static/js/beeswax.vm.js
Tested manually with single queries and multiple queries.
  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
  1. 
      
  2. apps/beeswax/src/beeswax/api.py (Diff revision 1)
     
     
     
     
     
     
     
    could we move this to @error_handler?
  3. apps/beeswax/static/js/beeswax.vm.js (Diff revision 1)
     
     
    is there a way to looking at a status code (probably add one to the watch_query_refresh_json() view)
    
    e.g
    || data.status != 0
    
    instead of having to look at the error list somewhere?
  4. 
      
Review request changed

Status: Closed (submitted)

Loading...