ktmud opened a new issue #14175:
URL: https://github.com/apache/superset/issues/14175


   Error message for draft/deleted dashboards is not actionable.
   
   cc @pkdotson @suddjian @junlincc 
   
   ### Expected results
   
   Deleted or unpublished dashboards should render a "Dashboard not found" or a 
general 404 page.
   
   ### Actual results
   
   It shows a blank page with unexpected JS errors or JSON format 404 error
   
   #### Screenshots
   
   When visiting a draft dashboard you don't have access with:
   
   <img width="784" alt="draft-dashboard" 
src="https://user-images.githubusercontent.com/335541/114944005-c0af5400-9dfb-11eb-87fb-53a8fe046f7f.png";>
   
   <img width="992" alt="draft-dashboard-error-more" 
src="https://user-images.githubusercontent.com/335541/114943733-4ed70a80-9dfb-11eb-8cd5-2c9cbeb76910.png";>
   
   When visiting a non-existing dashboard:
   
   <img width="787" alt="404 json" 
src="https://user-images.githubusercontent.com/335541/114943873-8940a780-9dfb-11eb-8125-f948ec6685ef.png";>
   
   
   #### How to reproduce the bug
   
   1. Create a new dashboard
   2. Log out and login as another user
   3. Visit that dashboard
   
   ### Environment
   
   Latest master
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to