Subject: | Broken by menu change in RT 4.2 |
Installing RT-OnlineDocs in RT 4.2.9 results in failure for all "SuperUser" accounts on all pages because of the changed menu structure of 4.2 vs. 4.0.
This patch seems to fix the problem, but obviously will break in 4.0.x:
--- /opt/rt4/local/plugins/RT-OnlineDocs/html/Callbacks/RT-OnlineDocs/Elements/Tabs/Privileged.orig 2014-12-24 22:22:18.085831921 +0000
+++ /opt/rt4/local/plugins/RT-OnlineDocs/html/Callbacks/RT-OnlineDocs/Elements/Tabs/Privileged 2014-12-24 22:37:37.855368320 +0000
@@ -4,7 +4,7 @@
Object => $RT::System,
);
-Menu()->child('tools')->child('config')->child('tools')->child( perldoc =>
+Menu()->child('admin')->child('tools')->child( perldoc =>
title => loc("API Docs"),
path => "/Developer/Perldoc",
);