Skip to content

Deleting allocation while locked #2107

@Heroluex

Description

@Heroluex

Current Behavior

When a port allocation is locked and then deleted, the port becomes unusable and cannot be allocated again.****

Expected Behavior

Locked port allocations should not be deletable. Either prevent deletion while locked, or automatically unlock the allocation before deletion.

Steps to Reproduce

  1. Create a server (e.g., Minecraft Paper)
  2. Add a port allocation (e.g., 25565)
  3. Lock the allocation
  4. Delete the allocation and confirm
  5. Attempt to re-add the same port

Panel Version

1.0.0-beta30

Wings Version

wings v1.0.0-beta21

Games and/or Eggs Affected

No response

Docker Image

No response

Error Logs

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    not confirmedNot yet verified or reproduced by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions