Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue updating allocations causing inconsistent state in database #945

Open
3 tasks done
misterquestions opened this issue Jan 25, 2025 · 0 comments
Open
3 tasks done

Comments

@misterquestions
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant