You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "aniruddhaparte (via GitHub)" <gi...@apache.org> on 2023/07/06 09:13:13 UTC
[GitHub] [superset] aniruddhaparte opened a new issue, #24602: Database Connection Settings Get Cached in Advanced Section
aniruddhaparte opened a new issue, #24602:
URL: https://github.com/apache/superset/issues/24602
Description:
When editing a database connection in Superset's Advanced Section, the settings get cached and persist when opening subsequent database connections. This behavior causes the same settings applied to a previous database connection to be displayed when editing a new connection.
#### How to reproduce the bug
1. Open Superset and navigate to the Database Connection settings.
2. Edit an existing database connection in the Advanced Section.
3. Modify the connection settings, such as the host, port, username, or password.
4. Save the changes and close the connection settings.
5. Open a different database connection in the Advanced Section.
6. Notice that the settings from the previous connection are displayed instead of the default or previously saved settings for the current connection.
### Expected results
When editing a new database connection, the Advanced Section should display the default or previously saved settings specific to that connection. The settings from previous connections should not be cached or carried over to new connections.
### Actual results
The Advanced Section in the Database Connection settings displays the same settings as the previous connection, leading to confusion and potential misconfiguration.
#### Screenshots
This image shows the settings for one DB connection "Shillelagh"

But when i open another databases connection it shows the same Settings for the an other db:

### Environment
(please complete the following information):
- browser type and version: Google Chrome 114.0.5735.133
- superset version: `2.1.0`
- python version: `Python 3.8.16`
- node.js version: `node -v`
- any feature flags active:
"ALERT_REPORTS": True,
"DASHBOARD_CROSS_FILTERS": True,
"DASHBOARD_RBAC": True,
"GENERIC_CHART_AXES": True,
"ALLOW_FULL_CSV_EXPORT": True,
"DRILL_TO_DETAIL": True,
"HORIZONTAL_FILTER_BAR": True
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stack traces 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
--
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: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Database Connection Settings Get Cached in Advanced Section [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #24602: Database Connection Settings Get Cached in Advanced Section
URL: https://github.com/apache/superset/issues/24602
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Database Connection Settings Get Cached in Advanced Section [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #24602:
URL: https://github.com/apache/superset/issues/24602#issuecomment-1977311709
Unable to reproduce this in Superset 3.1. If I'm missing something, and you are, let me know and we can re-open this.
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org