appsmithorg / appsmithorg/appsmith

[Bug] Saving a datasource does not update actions

Open
#2,373 14 comments 0 reactions 0 assignees View on GitHub
Bug Datasources Integrations Product Low Production Query & JS Pod Query Widgets & IDE Pod
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

## Description

On adding bindings to a datasource and saving it, the same is not reflected in the actions related to the datasource till the page is refreshed

### Steps to reproduce the behaviour:
1. Create an API and save a datasource against it
2. Navigate to the datasource and add a binding in the header. ex. token: {{appsmith.store.token}}
3. save the datasource
4. Inspect the network
5. navigate to the API and run it.
6. The API runs without the binding
7. Refresh the page
8. Navigate to the API and run it.
9. The API runs with the binding

The API should run with the binding in both situations. This is happening because the action is updated on the server when the datasource is saved but not on the client

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.