Cloning an existing ticket

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)

Anyone have this running on RT 4? If not, any alternatives?

Thanks,
Brent

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