-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When I delete a workflow state from a project in a workspace, it disappears from the list, but when I refresh the page, the deleted state reappears.
What should happen is the workflow state gets deleted and does not reappear on subsequent page refreshes.
I believe the state is merely getting removed from the web UI when deleted, but is not actually getting deleted on the backend.
Steps to reproduce
Plane Community Edition v1.2.0 deployed using Helm chart v1.4.1
- Go to a project where the current user is an admin.
- Open project settings > states.
- Create a new state in any category.
- Delete the state (state will disappear from web UI)
DevTools Network Tab:
DELETE <instance_url>/api/workspaces/<my_workspace>/projects/e2264f72-c655-496c-8305-90ed3a259943/states/3a2cbc28-f3c5-4d30-8c4c-c1e0d1fb5f01/
Project ID and State ID in API request are correct.
Returns HTTP 204 with no response content.
- Refresh the page (state will reappear and was not deleted)
Makes an API request to /api/workspaces/<my_workspace>/projects/e2264f72-c655-496c-8305-90ed3a259943/states/
Response object includes all project states, including the states that were supposed to be deleted.
Environment
Production
Browser
Mozilla Firefox
Variant
Self-hosted
Version
v1.2.0