Editing Database hosts only works on the first one #341

Closed
opened 2026-02-05 17:27:29 +03:00 by OVERLORD · 5 comments
Owner

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
Image

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

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

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

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

  • Have at least 2 database hosts
  • Edit 2nd one

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

https://paste.pelistuff.com/WCFM

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 @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 ![Image](https://github.com/user-attachments/assets/bcd7e2d7-6b48-4809-8647-8437b2d96dc3) /admin/database-hosts/1/edit - No problem here, I am also able to edit and save ![Image](https://github.com/user-attachments/assets/670c56a5-0d9d-42ba-a482-c755e3b9ae74) /admin/database-hosts/2/edit - Also shows info for ID 1 ![Image](https://github.com/user-attachments/assets/670c56a5-0d9d-42ba-a482-c755e3b9ae74) /admin/database-hosts/999/edit - Even a random ID that does not exists, and it also shows info for ID 1 ![Image](https://github.com/user-attachments/assets/670c56a5-0d9d-42ba-a482-c755e3b9ae74) ### 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 - Have at least 2 database hosts - Edit 2nd one ### 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 ```bash https://paste.pelistuff.com/WCFM ``` ### 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-05 17:27:29 +03:00
Author
Owner

@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?

@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?
Author
Owner

@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): That is with root admin. I will try with a new admin account with all permissions.
Author
Owner

@GoudronViande24 commented on GitHub (May 16, 2025):

It has the exact same behaviour with a separate admin account.

@GoudronViande24 commented on GitHub (May 16, 2025): It has the exact same behaviour with a separate admin account.
Author
Owner

@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.

@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.
Author
Owner

@GoudronViande24 commented on GitHub (May 16, 2025):

I am not familiar enough with Laravel/Filament at the moment to see what the problem is

@GoudronViande24 commented on GitHub (May 16, 2025): I am not familiar enough with Laravel/Filament at the moment to see what the problem is
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#341