mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Allocation going back - Canary #319
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JoanFo1456 on GitHub (Apr 26, 2025).
Originally assigned to: @lancepioch on GitHub.
Current Behavior
When changing an allocation to primary using admin panel and saving changes, allocation goes back to the old value
Expected Behavior
Change the allocation correctly.
Steps to Reproduce
Create a server with another allocation.
Try to change the primary allocation to the second one and restart page.
Panel Version
canary (beta19)
Wings Version
canary(beta11)
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Apr 26, 2025):
Unable to reproduce could you make a video ?
@JoanFo1456 commented on GitHub (Apr 27, 2025):
https://github.com/user-attachments/assets/ffddc8f0-4959-4335-b259-0ffe00da3e06
Sorry for late response, didn't check email.
@Kolapsicle commented on GitHub (Apr 27, 2025):
I have the same issue. Changing the allocation manually within the database works, but then the panel will be stuck on the new allocation.
Dev tools console isn't throwing any errors, and all network status codes are 200.
@JoanFo1456 commented on GitHub (Apr 27, 2025):
On client side works, why changing database?
@Kolapsicle commented on GitHub (Apr 29, 2025):
I'm in the habit of using the admin panel for that sort of stuff. I didn't even think to do that before modifying the database, lol.
@Scvtt commented on GitHub (May 1, 2025):
Seems to be related to saving changes applying the original state and not the new state, if you Make Primary it saves automatically. If you hit Save changes it will override with the original state i.e the previous allocation as primary assuming because the state hasn't updated.