You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
In certain cases, where for example, you database has been corrupted due to a bug, it is possible to create a graph with a graph id of 0. When you go to delete that corrupt graph, you also delete all your Graph Templates.
To Reproduce
Create a graph manually with a id in the graph_local table of 0, then delete it.
Expected behavior
Cacti should remove the local graph id, but not any templates.
The text was updated successfully, but these errors were encountered:
netniV
changed the title
It is possible to delete all templates by deleting a damaged graph with a local_graph_id of 0
Deleting a damaged graph can sometimes led to removal of valid graphs too
Apr 30, 2021
Describe the bug
In certain cases, where for example, you database has been corrupted due to a bug, it is possible to create a graph with a graph id of 0. When you go to delete that corrupt graph, you also delete all your Graph Templates.
To Reproduce
Create a graph manually with a id in the graph_local table of 0, then delete it.
Expected behavior
Cacti should remove the local graph id, but not any templates.
The text was updated successfully, but these errors were encountered: