Upgraded to rt-3.8.5 and kill stopped working

Hi all,

I just spent yesterday upgrading to RT 3.8.5 with RTFM 2.4.2 and for
some reason “kill” isn’t working from the main UI anymore. I get:

RT::ticket::Kill Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Display.html line 134)

I made sure all the perl deps were updated as well so I’m not sure what
could be causing it. I also didn’t find anything when searching so I
thought I’d just check in here before spending a day running through the
code myself.

Anyone else seen this behavior?

Thanks!

Sean Sullivan
Systems Administrator
o: 617.491.6144 x183
c: 781.408.1406
Harmonix Music Systems

I should have mentioned that I upgraded from 3.6.6. RTFM I’m not 100% what the previous version was.

-Sean-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com on behalf of Sean Sullivan
Sent: Thu 11/5/2009 1:27 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Upgraded to rt-3.8.5 and kill stopped working

Hi all,

I just spent yesterday upgrading to RT 3.8.5 with RTFM 2.4.2 and for
some reason “kill” isn’t working from the main UI anymore. I get:

RT::ticket::Kill Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Display.html line 134)

I made sure all the perl deps were updated as well so I’m not sure what
could be causing it. I also didn’t find anything when searching so I
thought I’d just check in here before spending a day running through the
code myself.

Anyone else seen this behavior?

Thanks!

Sean Sullivan
Systems Administrator
o: 617.491.6144 x183
c: 781.408.1406
Harmonix Music Systems

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi all,

I just spent yesterday upgrading to RT 3.8.5 with RTFM 2.4.2 and for
some reason “kill” isn’t working from the main UI anymore. I get:

RT::ticket::Kill Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Display.html line 134)

So, this is an RT extension. Which version of it are you using and where
did it come from? We certainly shouldn’t be breaking our API in the
middle of a stable series, so I want to make sure it gets sorted out.

As an aside, 3.8.6 has been out for a week or so and has some fixes
you likely want.

-----Original Message-----
From: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Thu 11/5/2009 1:48 PM
To: Sean Sullivan
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Upgraded to rt-3.8.5 and kill stopped working

Hi all,

I just spent yesterday upgrading to RT 3.8.5 with RTFM 2.4.2 and for
some reason “kill” isn’t working from the main UI anymore. I get:

RT::ticket::Kill Unimplemented in HTML::Mason::Commands.
(/opt/rt3/share/html/Ticket/Display.html line 134)

So, this is an RT extension. Which version of it are you using and where
did it come from? We certainly shouldn’t be breaking our API in the
middle of a stable series, so I want to make sure it gets sorted out.

As an aside, 3.8.6 has been out for a week or so and has some fixes
you likely want.

Thanks for the response! I didn’t realize this was a plugin. I inherited this install and as you know it was a fair bit dated so I was asked to upgrade it.

As far as my version of HTML::Mason, there appear to be 2 versions, 1.36 and 1.42. If I do:

#!/usr/bin/perl
use HTML::Mason;
print “$HTML::Mason::VERSION\n”;

I get 1.42, so I guess that is what is being used by RT?

Course, if I look at that file it contains only:

package HTML::Mason;

Copyright © 1998-2005 by Jonathan Swartz. All rights reserved.

This program is free software; you can redistribute it and/or modify it

under the same terms as Perl itself.

use 5.006;

$HTML::Mason::VERSION = ‘1.42’;

use HTML::Mason::Interp;

sub version
{
return $HTML::Mason::VERSION;
}

1;

END

Followed by a bunch of perldoc text.

This made me think, where is HTML::Mason::Commands? Well it’s not on this machine, nor is it installable:

perl -MCPAN -e ‘install HTML::Mason::Commands’ Warning: Cannot install HTML::Mason::Commands, don’t know what it is.

The CPAN page says this about HTML::Mason::Commands:
This was the documentation for the mc_ command set. In Mason 0.8 and beyond, mc_ commands have been replaced by the new HTML::Mason::Request

So now I’m really confused…

-Sean

So, this is an RT extension. Which version of it are you using and where
did it come from? We certainly shouldn’t be breaking our API in the
middle of a stable series, so I want to make sure it gets sorted out.

As an aside, 3.8.6 has been out for a week or so and has some fixes
you likely want.

Thanks for the response! I didn’t realize this was a plugin. I inherited this install and as you know it was a fair bit dated so I was asked to upgrade it.

As far as my version of HTML::Mason, there appear to be 2 versions, 1.36 and 1.42. If I do:

Ah, no. It was the “Kill” extension I was looking for the version of.

find /opt/rt3/ -name *Kill*

might be a start to tracking down the right files. Note also that after
an upgrade, you really need to clear /opt/rt3/var/mason_data/obj before
starting apache, otherwise you might get a skewed set of compiled mason
templates.

Jesse Vincent wrote:

So, this is an RT extension. Which version of it are you using and where
did it come from? We certainly shouldn’t be breaking our API in the
middle of a stable series, so I want to make sure it gets sorted out.
As an aside, 3.8.6 has been out for a week or so and has some fixes
you likely want.

Thanks for the response! I didn’t realize this was a plugin. I inherited this install and as you know it was a fair bit dated so I was asked to upgrade it.

As far as my version of HTML::Mason, there appear to be 2 versions, 1.36 and 1.42. If I do:

Ah, no. It was the “Kill” extension I was looking for the version of.

find /opt/rt3/ -name *Kill*

might be a start to tracking down the right files. Note also that after
an upgrade, you really need to clear /opt/rt3/var/mason_data/obj before
starting apache, otherwise you might get a skewed set of compiled mason
templates.

That’s the thing, there isn’t any Kill module. That was the first thing I searched for when I noticed the issue.

root@lechuck:~# find /opt/rt3/ -name *Kill*
root@lechuck:~# find /opt/rt3.bak/ -name *Kill*
root@lechuck:~# find /usr -name *Kill*

No results for any of these searches.

rt3.bak was our previous install where kill actually worked so if we ever had a module *Kill* it should still be in there at least. Unless of course it was in say /usr/lib/perl* and some other module ditched it when I updated it…

I did the cache clearing during the update process so that shouldn’t be an issue.

-Sean

root@lechuck:~# find /opt/rt3/ -name *Kill*
root@lechuck:~# find /opt/rt3.bak/ -name *Kill*
root@lechuck:~# find /usr -name *Kill*

No results for any of these searches.

I suspect it’s time for the big guns.

grep -ri kill /opt/rt3.bak/share
grep -ri kill /opt/rt3.bak/lib

You almost certainly want
http://search.cpan.org/~JESSE/RT-Extension-QuickDelete/ to replace what
you had. But we need to get rid of the old thing that’s hanging around.

Jesse Vincent wrote:

root@lechuck:~# find /opt/rt3/ -name *Kill*
root@lechuck:~# find /opt/rt3.bak/ -name *Kill*
root@lechuck:~# find /usr -name *Kill*

No results for any of these searches.

I suspect it’s time for the big guns.

grep -ri kill /opt/rt3.bak/share
grep -ri kill /opt/rt3.bak/lib

You almost certainly want
http://search.cpan.org/~JESSE/RT-Extension-QuickDelete/ to replace what
you had. But we need to get rid of the old thing that’s hanging around.

Here are the results:

root@lechuck:~# grep -ri kill /opt/rt3.bak/share
/opt/rt3.bak/share/html/Ticket/Display.html: if ($ARGS{‘Action’} =~ /^(Steal|Kill|Take|SetTold)$/) {

root@lechuck:~# grep -ri kill /opt/rt3.bak/lib
/opt/rt3.bak/lib/RT/I18N/da.po:msgstr “Angiv objekter eller URL’er til tilknytning af objekter. Flere indtastninger adskilles med mellemrum.”
/opt/rt3.bak/lib/RT/I18N/da.po:msgstr “Angiv køer eller URL’er til tilknytning af køer. Flere indtastninger adskilles med mellemrum.”
/opt/rt3.bak/lib/RT/I18N/da.po:msgstr “Angiv sager eller URL’er til tilknytning af sager. Flere værdier adskilles med mellemrum.”
/opt/rt3.bak/lib/RT/I18N/es.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/fi.po:msgstr “Lisää kaikille työjonoille yhteinen toiminto”
/opt/rt3.bak/lib/RT/I18N/he.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/it.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/no.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/pt_br.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/ru.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/sv.po:msgstr “Det krävs åtskilliga parametrar:”
/opt/rt3.bak/lib/RT/I18N/zh_cn.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/I18N/zh_tw.po:msgid “Ticket killed”
/opt/rt3.bak/lib/RT/StyleGuide.pod:not call C<kill 9, $$>. Don’t do it.
/opt/rt3.bak/lib/RT/Ticket_Overlay.pm:# kill performance, bigtime. It gets kept in lockstep thanks to the magic of transactionalization
/opt/rt3.bak/lib/RT/Ticket_Overlay.pm:# {{{ sub Kill
/opt/rt3.bak/lib/RT/Ticket_Overlay.pm:=head2 Kill
/opt/rt3.bak/lib/RT/Ticket_Overlay.pm:sub Kill {
/opt/rt3.bak/lib/RT/Ticket_Overlay.pm: $RT::Logger->crit("‘Kill’ is deprecated. use ‘Delete’ instead at (". join(":",caller).").");
/opt/rt3.bak/lib/RT/Tickets_Overlay.pm: # “Kill It” - Jesse.
/opt/rt3.bak/lib/t/data/nested-rfc-822: * Det =E4r en stor skillnad p=E5 hur det =E4r t=E4nkt att vara och hur det=

And for the current install in case that’s useful:

root@lechuck:~# grep -ri kill /opt/rt3/lib
/opt/rt3/lib/RT/I18N/da.po:msgstr “Angiv objekter eller URL’er til tilknytning af objekter. Flere indtastninger adskilles med mellemrum.”
/opt/rt3/lib/RT/I18N/da.po:msgstr “Angiv køer eller URL’er til tilknytning af køer. Flere indtastninger adskilles med mellemrum.”
/opt/rt3/lib/RT/I18N/da.po:msgstr “Angiv sager eller URL’er til tilknytning af sager. Flere værdier adskilles med mellemrum.”
/opt/rt3/lib/RT/I18N/es.po:msgid “Ticket killed”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Lisää kaikille jonoille yhteinen toiminto”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Muokkaa erikoiskenttiä kaikille ryhmille”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Muokkaa erikoiskenttiä kaikille jonoille”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Muokkaa erikoiskenttiä kaikille käyttäjille”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Muokkaa erikoiskenttiä kaikille tiketeille, kaikissa jonoissa”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Lähetä sähköposti kaikille valvojille”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Lähetä sähköposti kaikille valvojille kommenttina”
/opt/rt3/lib/RT/I18N/fi.po:msgstr “Seuraavat kyselyt eivät ehkä ole mahdollisia kaikille käyttäjille jotka voivat nähdä tämän työtilan.”
/opt/rt3/lib/RT/I18N/he.po:msgid “Ticket killed”
/opt/rt3/lib/RT/I18N/it.po:msgid “Ticket killed”
/opt/rt3/lib/RT/I18N/nb.po:msgid “Ticket killed”
/opt/rt3/lib/RT/I18N/pt_BR.po:msgid “Ticket killed”
/opt/rt3/lib/RT/I18N/sv.po:msgstr “Det krävs åtskilliga parametrar:”
/opt/rt3/lib/RT/I18N/zh_CN.po:msgid “Ticket killed”
/opt/rt3/lib/RT/I18N/zh_TW.po:msgid “Ticket killed”
/opt/rt3/lib/RT/StyleGuide.pod:not call C<kill 9, $$>. Don’t do it.
/opt/rt3/lib/RT/Test.pm: kill ‘INT’, @SERVERS;
/opt/rt3/lib/RT/Ticket_Overlay.pm: # kill performance, bigtime. It gets kept in lockstep thanks to the magic of transactionalization
/opt/rt3/lib/RT/Tickets_Overlay.pm: # “Kill It” - Jesse.

root@lechuck:~# grep -ri kill /opt/rt3/share
/opt/rt3/share/html/NoAuth/RichText/FCKeditor/editor/lang/fi.js:DlnLnkMsgNoUrl : “Linkille on kirjoitettava URL”,
/opt/rt3/share/html/NoAuth/RichText/FCKeditor/editor/lang/nb.js:DlgReplaceCaseChk : “Skill mellom store og små bokstaver”,
/opt/rt3/share/html/NoAuth/RichText/FCKeditor/editor/lang/no.js:DlgReplaceCaseChk : “Skill mellom store og små bokstaver”,
/opt/rt3/share/html/NoAuth/RichText/FCKeditor/license.txt: sufficiently detailed for a recipient of ordinary skill to be able to
/opt/rt3/share/html/Ticket/Display.html: if ($ARGS{‘Action’} =~ /^(Steal|Kill|Take|SetTold)$/) {

Thanks for the continued help Jessie!

-Sean

Jesse Vincent wrote:

root@lechuck:~# find /opt/rt3/ -name *Kill*
root@lechuck:~# find /opt/rt3.bak/ -name *Kill*
root@lechuck:~# find /usr -name *Kill*

No results for any of these searches.

I suspect it’s time for the big guns.

grep -ri kill /opt/rt3.bak/share
grep -ri kill /opt/rt3.bak/lib

And now, how about:

grep -ri kill /opt/rt3.bak/local

Jesse Vincent wrote:

root@lechuck:~# find /opt/rt3/ -name *Kill*
root@lechuck:~# find /opt/rt3.bak/ -name *Kill*
root@lechuck:~# find /usr -name *Kill*

No results for any of these searches.

I suspect it’s time for the big guns.

grep -ri kill /opt/rt3.bak/share
grep -ri kill /opt/rt3.bak/lib

And now, how about:

grep -ri kill /opt/rt3.bak/local

root@lechuck:~# grep -ri kill /opt/rt3.bak/local
/opt/rt3.bak/local/lib/RT/User_Vendor.pm: # Get DBI handle object (DBH), do SQL query, kill DBH

Thats it.

I’m stumped. Can you send a screenshot of your 3.6.6?

I’m stumped. Can you send a screenshot of your 3.6.6?

Sure, here you are. I’m currently @ 3.6.5.

Sure, here you are. I’m currently @ 3.6.5.

Right. that’s just a custom saved search format. YOu’ll want to read up
on editing saved searches.

-jesse

Jesse Vincent wrote:

Sure, here you are. I’m currently @ 3.6.5.

Right. that’s just a custom saved search format. YOu’ll want to read up
on editing saved searches.

-jesse

I’m confused. What is just a custom search? The KILL link there used in that one tkt under “10 newest unowned tickets”?

-Sean

Jesse Vincent wrote:

Sure, here you are. I’m currently @ 3.6.5.

Right. that’s just a custom saved search format. YOu’ll want to read up
on editing saved searches.

-jesse

I’m confused. What is just a custom search? The KILL link there used in that one tkt under “10 newest unowned tickets”?

Not as shipped. Those formats are customizable.