HUE-6704 [fb] Handle empty page error on filebrowser filter requests

Review Request #10926 - Created June 12, 2017 and submitted

Jenny Kim
hue
master
HUE-6704
414bf38...
hue
enricoberti, johan, krish, ranade, romain, weixia
commit c1a71bf9596145b9b39385b551c1326d61d410ff
Author: Jenny Kim <jennykim@cloudera.com>
Date:   Mon Jun 12 13:50:34 2017 -0700

    HUE-6704 [fb] Handle empty page error on filebrowser filter requests

:100644 100644 72dc7aebc6... e767459b20... M	apps/filebrowser/src/filebrowser/views.py

Manual with URL: /filebrowser/view=S3A://?format=json&sortby=name&descending=false&pagesize=50&pagenum=3&filter=cc&_=1497056920957

  • 1
  • 0
  • 1
  • 0
  • 2
Description From Last Updated
Was it tested in the UI too? (if those None works, instead of [] and {}) Romain Rigaux
  1. 
      
  2. Could we add a test similar to test_listdir that lists an empty dir in json format?

  3. apps/filebrowser/src/filebrowser/views.py (Diff revision 1)
     
     
     

    Was it tested in the UI too? (if those None works, instead of [] and {})

    1. I'm not sure how to test this in the UI since I still can't manually repro... Are you able to test with this diff?

    2. Can you push to a branch?
      Very likely we should use [] and {} instead of None too

    3. Remote branch: https://github.com/cloudera/hue/tree/HUE-6704

  4. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...