Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import a DB connection containing the version information filled #26115

Closed
3 tasks done
Vitor-Avila opened this issue Nov 28, 2023 · 1 comment
Closed
3 tasks done

Comments

@Vitor-Avila
Copy link
Contributor

When connecting a DB connection to Superset, it's possible to specify the DB version (this is used for a few DB Engines). If filled, the version field is included in the export file, however the import is not configured to handle it, and therefore the import fails.

How to reproduce the bug

  1. Create a DB connection or modify an existing one.
  2. Navigate to the ADVANCED tab, and expand the Other section.
  3. Set any value in the VERSION field.
  4. Save changes.
  5. Export the DB connection.
  6. Try to import it.

Expected results

The import should work properly.

Actual results

The import doesn't work.

Environment

  • browser type and version: Chrome version 119.0.6045.159
  • superset version: 0.0.0-dev (running master)
  • python version: 3.9.0
  • node.js version: v16.14.2
  • any feature flags active: not relevant to reproduce the issue

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.
@Vitor-Avila
Copy link
Contributor Author

Fixed in #26116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant