Closed (fixed)
Project:
Monitoring
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2024 at 20:30 UTC
Updated:
10 Jan 2025 at 15:59 UTC
Jump to comment: Most recent
We added the settings to the main monitoring settings page and not the separate settings form, but didn't remove the route for it, so that's still there.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
kul.pratap commentedWorking on it.
Comment #3
kul.pratap commentedI can't reproduce this issue because the routing.yml file contains only one route for the settings form, and I can't find any other separate settings form with a route.
Comment #4
berdirYes, and that one settings form is the problem. This module doesn't have separate settings form. It doesn't work, MonitoringPrometheusSettingsForm doesn't exist.
Comment #5
kul.pratap commented@berdir Thanks for your reply.
If MonitoringPrometheusSettingsForm doesn't exist and there is no route defined for it, I can only find a single route for MonitoringSettingsForm and if we remove that then setting form doesn't show. Considering the issue summary mentions removing the broken route, what should be our next step?
Comment #6
berdirThe other route is dynamically defined in the the routing event subscriber. The next step is removing routing.yml completely.
Comment #8
kul.pratap commented@berdir i have removed the broken route from monitoring_prometheus.routing.yml
Please review
Thank You
Comment #10
berdirMerged, thanks.