Werk #20038 · Jul 14, 26
Service discovery: Fix action menu error for hosts in subfolders
Previously, on the service discovery page, the action menu (the "⋮ More options" button shown for changed services) was broken for hosts located in a subfolder. Clicking any of its entries — "View and edit the parameters for this service" or "Edit and analyse the check parameters for this service" — resulted in the error:
Invalid user input: The given host does not exist.
Hosts in the main folder were not affected.
This has been fixed.
Technical background
The action menu is rendered asynchronously. The request that fetched it did not carry the host's folder, so the links it built fell back to the main folder. The target pages then looked for the host in the wrong folder and could not find it. The folder is now passed along, so the links point to the correct folder.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p10All Editions