Skip to content

Deleting a target group causes an error #1631

@LarsSven

Description

@LarsSven

When going into the Warpgate management UI and deleting a target group, Warpgate throws an error.

The error message shown in the UI reads:

(k,L)=>{m();var C=$();q(()=>z(C,t(f))),s(k,C)}

Image

The warpgate log reads:

21:46:14 WARN HTTP: Request failed method=PUT url=https://localhost:8888/@warpgate/admin/api/target-groups/d73f9358-39fb-4769-9167-fbd68323e899 status=404 Not Found client_ip=::ffff:172.17.0.1 session=34a78044-f935-4b24-9986-83cb4af04046 session_username=admin client_ip=::ffff:172.17.0.1

The target group is properly deleted, I suspect the issue is that after deleting a target group, the user is sent back to the page of the specific target group that just got deleted, which now no longer exists. But I'm not 100% sure that's the issue.

Steps to reproduce:

  1. Spin up warpgate locally using docker (Warpgate 0.18.0)
  2. Log in as admin and create a target group
  3. Delete the target group via the management UI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions