mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
Editing Database hosts only works on the first one #341
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 @GoudronViande24 on GitHub (May 16, 2025).
Originally assigned to: @Boy132 on GitHub.
Current Behavior
On my current install, I have two database hosts, with ID 1 and 2. They both show up with the correct infos in /admin/database-hosts, but when accessing /admin/database-hosts/{ID}/edit it always edits the one with ID 1.
Screenshots:
/admin/database-hosts - Works as expected

/admin/database-hosts/1/edit - No problem here, I am also able to edit and save

/admin/database-hosts/2/edit - Also shows info for ID 1

/admin/database-hosts/999/edit - Even a random ID that does not exists, and it also shows info for ID 1

Expected Behavior
It should show the info for the requested ID in the edit page, so we can update the database hosts.
Steps to Reproduce
Panel Version
v1.0.0-beta21
Wings Version
I dont think it's relevant, but v1.0.0-beta13
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@Boy132 commented on GitHub (May 16, 2025):
Can't reproduce that.
Is that with the root admin user? Or all admins?
If it's not the root admin, does the admin have a role with assigned nodes?
@GoudronViande24 commented on GitHub (May 16, 2025):
That is with root admin. I will try with a new admin account with all permissions.
@GoudronViande24 commented on GitHub (May 16, 2025):
It has the exact same behaviour with a separate admin account.
@rmartinoscar commented on GitHub (May 16, 2025):
Im able to reproduce it on root_admin & custom roles.
It seems to be also happen on Mounts.
@GoudronViande24 commented on GitHub (May 16, 2025):
I am not familiar enough with Laravel/Filament at the moment to see what the problem is