Skip Menu |

This queue is for tickets about the RT-OnlineDocs CPAN distribution.

Report information
The Basics
Id: 101120
Status: resolved
Priority: 0/
Queue: RT-OnlineDocs

People
Owner: Nobody in particular
Requestors: cpanrt-20141224 [...] billmail.scconsult.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.0
Fixed in: (no value)



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", );
Subject: Re: [rt.cpan.org #101120] Broken by menu change in RT 4.2
Date: Fri, 02 Jan 2015 12:33:21 -0500
To: bug-RT-OnlineDocs [...] rt.cpan.org
From: Alex Vandiver <alexmv [...] bestpractical.com>
On 12/24/2014 05:40 PM, http://openid.aol.com/grumpybozo via RT wrote: Show quoted text
> 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.
Thanks for the report. I've taken the route of simply marking the extension as only for RT 4.0.x; installation will error out on 4.2.x with RT-OnlineDocs 1.10 (on its way to CPAN now). - Alex