An error occurred while fetching databases: {"allow_cvas":["Field may not be null."]}
See original GitHub issueAfter migrating to 1.2.0-rc1, editing Databases configuration rasies this error
Migration path was : 0.38 -> 1.1.0 -> 1.2.0-rc1
I’m not sure if it was working in 1.1.0, and it’s pretty hard to reproduce the situation.
An error occurred while fetching databases: {"allow_cvas":["Field may not be null."]}
For instance when unticking or ticking “allow data upload”, which has nothing to do with CVAS
Expected results
No error raised, databse configuration updated
Actual results
Configuration unchanged, aforementioned “Toast” error appears when saving
Screenshots
Two examples : click edit on an existing DB, go in this tab and click ‘save’ button :
How to reproduce the bug
- Go to ‘Databases’
- Click on ‘Edit’ then “Advanced”
- Scroll down and click ‘Save’
- See error
Environment
Running in docker
- superset version:
superset version
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset 1.2.0
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- python version:
python --version
Python 3.7.9
- node.js version:
node -v
-> no node in runtime PATH, node 14 used in docker build process
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Cannot edit DBs ("An error occurred while fetching databases")
Getting this error when attempting to edit a DB: "An error occurred while fetching databases: Fatal error" Similar to this issue, ...
Read more >[GitHub] [superset] squalou opened a new issue #14809
[GitHub] [superset] squalou opened a new issue #14809: An error occurred while fetching databases: {"allow_cvas":["Field may not be null."]}.
Read more >Apache superset: cannot read metadata from Athena
On SQL editor while loading the metadata it returns following error: ERROR OCCURRED WHILE FETCHING TABLE METADATA. On Athena, it runs the ...
Read more >Issue Code Reference - Apache Superset
This page lists issue codes that may be displayed in Superset and ... The hostname provided when adding a new database is invalid...
Read more >TF255407: An error occurred while attempting to validate the ...
While migrating data from one TFS 2012 Server to another to another 2012 server ... This method or property cannot be called on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Possible workaround
In configuration / SQL Lab :
I suspect it’s a migration issue somewhere, a missing field for some reason.
Thanks @junlincc. cc @yousoph. Do you think this is a large enough bug to block the 1.2 release? We plan to do a bug bash tomorrow, so we’ll fit this in.