[Bug] Renaming a MongoDB datasource that uses SRV URL breaks all actions until the SRV URL is set again #5007
Closed
Description
Description
Noticed that renaming a datasource (I've added MongoDB with URI) temporarily breaks the queries till the URI is edited and re-added.
Steps to reproduce the behaviour:
- Create a MongoDB datasource using a URL.
- Create a simple query to get a document out of this datasource.
- Verify that this query works.
- Now rename the datasource.
- Try the query again, it fails.
- Now edit the datasource to set the same URL again and save it.
- Try the query again, it works.
Screen.Recording.2021-06-10.at.10.24.51.mov
Important Details
- Version: Cloud
- OS: macOS
- Browser: Firefox
- Environment: Production, https://app.appsmith.com.
Metadata
Assignees
Labels
This marks the issue or pull request to reference server codeSomething isn't workingissues reported by community membersIssues related to configuring datasource on appsmithThis issue blocks a user from building or impacts a lot of usersIssues related to Mongo DB pluginNeeds attention from maintainers to triageIssues related to the query & JS Pod