[rt-users] FW: Cloning an existing ticket

Brent Wiese bwiese at ElementPS.com
Tue Jun 11 19:04:33 EDT 2013


> On Mon, Jun 03, 2013 at 09:52:24PM +0000, Brent Wiese wrote:
> >    I'm running RT 4.0.10.
> >
> >    I tried installing rt-extension-cloneticket-withdata. It looks
> like that hasn't been updated
> >    in a while - not since rt 4 anyways.
> >
> >    When I try cloning a ticket, I get:
> >
> >    RT: Not an ARRAY reference at
> >    /opt/rt4/local/plugins/RT-Extension-CloneTicket-
> WithData/html/Ticket/Clone/index.html line
> >    183.#012#012Stack:#012
> >    [/opt/rt4/local/plugins/RT-Extension-CloneTicket-
> WithData/html/Ticket/Clone/index.html:183]#012
> >    [/opt/rt4/share/html/Ticket/autohandler:66]#012
> >    [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]#012
> >    [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]#012
> [/opt/rt4/share/html/autohandler:53]
> >    (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)
> >
> 
> Yep - that's a change between 3.8 and 4.0.
> 
> The Queue cache is stored in $session{$cache_key}{queues} rather than
> directly under the cache key.  Should be a simple enough change to the
> module to get past that error.  If that fixes it for you, send a pull
> request?
> 
> -kevin

Made the above change (think it was in 4 places) in the index.html file (only one I found with that line) and now I get:

[Tue Jun 11 22:59:49 2013] [error]: could not find component for path '/Ticket/Elements/Tabs'

Stack:
  [/opt/rt4/local/plugins/RT-Extension-CloneTicket-WithData/html/Ticket/Clone/index.html:50]
  [/opt/rt4/share/html/Ticket/autohandler:66]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]
  [/opt/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

That path is actually to a Callbacks file included with the plugin, which appears to function since it's what adds the "clone" link to the ticket, which is there, because I get the error after clicking it.

Any ideas? This is beyond my programming level. If it's not a quick fix, I'll probably have to ditch it (or hope the original author sees this and updates the module).

Thanks!




More information about the rt-users mailing list