PromucFlow_constructor/app/client/src/ce
Michael Carner a3fe54f217
fix: reset workspace before deleting a workspace (#23782)
## Description
Fixes [#12057](https://github.com/appsmithorg/appsmith/issues/12057)

In specific scenarios, the currentWorkspace is not up to date and uses a
previous workspace, which can cause certain API calls to fail. The end
result is the user sees a "No Resource Found" error with no clear
explanation.

This changes adds a new ReduxAction RESET_CURRENT_WORKSPACE with returns
it to it's initial value. The only place I've added that is at the
begining of deleteWorkspaceSaga()

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

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

## Testing

#### How Has This Been Tested?
- [x] Manual


## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] My changes generate no new warnings
- [x] New and existing unit tests pass locally with my changes


#### 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-06-02 17:50:53 +05:30
..
actions fix: reset workspace before deleting a workspace (#23782) 2023-06-02 17:50:53 +05:30
api chore: add utility for widget level acl (#23526) 2023-06-02 16:36:41 +05:30
components/editorComponents/GPT chore: Switch environment CE BE code split (#23755) 2023-05-26 21:50:59 +05:30
configs chore: Remove login and signup related env variables from client (#22891) 2023-05-16 14:34:48 +05:30
constants fix: reset workspace before deleting a workspace (#23782) 2023-06-02 17:50:53 +05:30
entities/DataTree chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
mocks refactor: Invite modal component to support single & multi-select dropdown options (#17073) 2022-09-29 09:53:25 +00:00
pages fix: Add a checkbox to multiselect Selects (#23887) 2023-06-01 13:13:10 +07:00
reducers fix: reset workspace before deleting a workspace (#23782) 2023-06-02 17:50:53 +05:30
sagas fix: reset workspace before deleting a workspace (#23782) 2023-06-02 17:50:53 +05:30
selectors feat: deprecate duplicate button (#23461) 2023-05-24 10:34:52 +05:30
utils chore: add utility for widget level acl (#23526) 2023-06-02 16:36:41 +05:30
workers fix: Get default value from entityTree instead of configTree (#22682) 2023-04-27 17:41:40 +01:00
AppRouter.tsx fix: country flag emojis not working in chromium browsers on windows for airgapped instances. (#23091) 2023-05-09 10:44:27 +05:30