Skip to content

[Bug] Renaming a MongoDB datasource that uses SRV URL breaks all actions until the SRV URL is set again #5007

Closed
@sharat87

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:

  1. Create a MongoDB datasource using a URL.
  2. Create a simple query to get a document out of this datasource.
  3. Verify that this query works.
  4. Now rename the datasource.
  5. Try the query again, it fails.
  6. Now edit the datasource to set the same URL again and save it.
  7. Try the query again, it works.
Screen.Recording.2021-06-10.at.10.24.51.mov

Important Details

Metadata

Assignees

Labels

BackendThis marks the issue or pull request to reference server codeBugSomething isn't workingCommunity Reportedissues reported by community membersDatasourcesIssues related to configuring datasource on appsmithHighThis issue blocks a user from building or impacts a lot of usersMongoIssues related to Mongo DB pluginNeeds TriagingNeeds attention from maintainers to triageQuery & JS PodIssues related to the query & JS Pod

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions