Skip to content

[bug]: Can't delete custom project statesΒ #8444

@SawyerCzupka

Description

@SawyerCzupka

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

  1. Go to a project where the current user is an admin.
  2. Open project settings > states.
  3. Create a new state in any category.
  4. 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.

  1. 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

Metadata

Metadata

Labels

planesync issues to PlaneπŸ›bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions