Issue updating allocations causing inconsistent state in database #245

Closed
opened 2026-02-04 17:15:06 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @misterquestions on GitHub (Jan 25, 2025).

Originally assigned to: @rmartinoscar on GitHub.

Current Behavior

When updating allocations for a server if you add the allocation, then make as primary, and remove the previous allocation, seems to keep the previous allocation_id in the server. And an inconsistent state is shown in the UI (showing the previous allocation rather than the new one).

Expected Behavior

Allocations should have an easier form of updating within the UI + keep database state consistent to user actions.

Steps to Reproduce

  1. Have a server with an allocation (alloc A)
  2. Create a new allocation (aloc B)
  3. Assign the new allocation to the server (B)
  4. Make allocation primary
  5. Verify UI result vs database stored allocation.

Panel Version

Version: 1.0.0-beta17

Wings Version

1.0.0-beta9 (Latest: 1.0.0-beta9)

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.
Originally created by @misterquestions on GitHub (Jan 25, 2025). Originally assigned to: @rmartinoscar on GitHub. ### Current Behavior When updating allocations for a server if you add the allocation, then make as primary, and remove the previous allocation, seems to keep the previous `allocation_id` in the server. And an inconsistent state is shown in the UI (showing the previous allocation rather than the new one). ### Expected Behavior Allocations should have an easier form of updating within the UI + keep database state consistent to user actions. ### Steps to Reproduce 1. Have a server with an allocation (alloc A) 2. Create a new allocation (aloc B) 3. Assign the new allocation to the server (B) 4. Make allocation primary 5. Verify UI result vs database stored allocation. ### Panel Version Version: 1.0.0-beta17 ### Wings Version 1.0.0-beta9 (Latest: 1.0.0-beta9) ### Games and/or Eggs Affected _No response_ ### Docker Image _No response_ ### Error Logs ```bash ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] 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. - [x] 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.
OVERLORD added the 🟡 medium label 2026-02-04 17:15:06 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#245