-
-
Notifications
You must be signed in to change notification settings - Fork 436
When viewing a graph, Edit Graph Template link may open wrong url #5236
Description
Describe the bug
In graph views where the "Edit Graph Template" button/link is displayed to the right of the graph, the link points to https://graph_templates.php/?action=template_edit&id=XX
All other links render properly.
To Reproduce
Steps to reproduce the behavior:
-
Navigate to instance's /graph_view.php
-
Click on "Edit Graph Template" next to a graph, or hover over link and view URL.
-
Link renders without base_url value leading to an error from the browser.
Expected behavior
The link should render with the base_url like other links.
Desktop (please complete the following information)
-
OS: MacOS Ventura
-
Browser Chrome
-
Version 109
Additional context
The only difference from a typical install is we are not using /cacti/ as the url_path, but instead /. I have tinkered with the Server Base URL value in Settings, by completely removing it, trying just the FQDN, and also https://FQDN, but no change in link rendering.
Cacti Version: 1.2.23
PHP 8.2.3
CentOS 7