Skip to content

[FIX] Structure menu not updated after wiki page rename

Drilldown menu fails to update after a wiki page in a structured menu is updated. This issue was described here https://dev.tiki.org/item7859-Structure-menu-does-not-update-after-page-rename

The drilldown menu uses a cache that is created first time the menu is loaded. The cache is not updated after a wiki page is renamed, causing the menu to load stale data.

To solve the issue, I made changes that clear the menu cache after a wiki page is successfully renamed. Cache is recreated on next load of the menu.

@luciash @jonnybradley

Edited by Nat Okpe

Merge request reports