prosdev0107 opened a new pull request, #20442:
URL: https://github.com/apache/superset/pull/20442

   ### SUMMARY
   Add error message when user tries to import without having db driver 
installed
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   BEFORE:
   
![image](https://user-images.githubusercontent.com/47900232/174669019-d70e5e73-782c-4d32-989d-cdf4effc8ea2.png)
   
   AFTER:
   
![image](https://user-images.githubusercontent.com/47900232/174668722-d358e246-a6b0-49f2-bc97-dff74bef8658.png)
   
   ### TESTING INSTRUCTIONS
   
   1. Import a file (dashboard, chart, dataset, database) that contains a 
database where the user doesn't have the database driver installed
   
   2. Current behavior:
   The db driver is installed and the error has nothing to do with the 
database, so the user getting this error text doesn't make sense.
   
   3. Expected behavior:
   User sees an error message when they don't have the db driver installed
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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