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.Dismiss alert
Cacti breadcrumbs have always driven me mad. So, today I did a deep dive, and there is a bit of code that is not fully rationalized. The logic that was in place may have had a purpose at one time or another, but that purpose has long been diminished. So, a mild re-write was due. This bug is to record that re-write. In this change, we abandon the navigation cache, and simply construct the breadcrumb from the $navigation array that is passed for ever page including well written plugin pages.
Expected behavior
Cacti code should be easier to understand.
The text was updated successfully, but these errors were encountered:
netniV
changed the title
Cacti breadcrumbs are unreliable due to faulty navigation cache logic
Breadcrumbs not always display the correct path
Apr 3, 2022
Describe the bug
Cacti breadcrumbs have always driven me mad. So, today I did a deep dive, and there is a bit of code that is not fully rationalized. The logic that was in place may have had a purpose at one time or another, but that purpose has long been diminished. So, a mild re-write was due. This bug is to record that re-write. In this change, we abandon the navigation cache, and simply construct the breadcrumb from the
$navigation
array that is passed for ever page including well written plugin pages.Expected behavior
Cacti code should be easier to understand.
The text was updated successfully, but these errors were encountered: