PromucFlow_constructor/app
Rishabh Rathod 0c615d58ea
fix: set Api.data on promise resolution (#23060)
## Description

Set the `api.data` as soon as promise is resolved to avoid race
condition.

NOTE: We have added a logic to set the global context similar to
storeValue as a temporary fix.

#### PR fixes following issue(s)
Fixes #23052


#### Type of change

- Bug fix (non-breaking change which fixes an issue)


## Testing

#### How Has This Been Tested?

#### Test Plan

#### Issues raised during DP testing

## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Test-plan-implementation#speedbreaker-features-to-consider-for-every-change)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans/_edit#areas-of-interest)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-05-10 12:37:25 +05:30
..
client fix: set Api.data on promise resolution (#23060) 2023-05-10 12:37:25 +05:30
rts fix: Remove devDependencies from RTS build (#22239) 2023-04-13 17:32:13 +05:30
server chore: Update Spring to v3.0.6 (#23031) 2023-05-09 07:52:42 +05:30
shared fix: Remove devDependencies from RTS build (#22239) 2023-04-13 17:32:13 +05:30
util chore: bump decode-uri-component from 0.2.0 to 0.2.2 in /app/util/plugin-generation (#18658) 2022-12-07 11:00:38 +05:30