Unable to create ticket in RT 4.2

Hi all -

Upgraded from 4.0.16 to 4.2 on a test VM. I am unable to create a ticket
via the web interface…this is what I’m seeing in rt.log.

[6608] [Mon Oct 14 15:11:46 2013] [error]: Can’t locate object method
“DefaultOnCreate” via package “default” (perhaps you forgot to load
“default”?) at /opt/rt4/local/html/Ticket/Create.html line 71.

Stack:
[/opt/rt4/local/html/Ticket/Create.html:71]
[/opt/rt4/share/html/Widgets/TitleBox:56]
[/opt/rt4/local/html/Ticket/Create.html:107]
[/opt/rt4/share/html/Ticket/autohandler:66]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:680]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:368]
[/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/…/lib/RT/Interface/Web/Handler.pm:211)

Max McGrath
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.edu

Hi all -

Upgraded from 4.0.16 to 4.2 on a test VM. I am unable to create a
ticket via the web interface…this is what I’m seeing in rt.log.

[6608] [Mon Oct 14 15:11:46 2013] [error]: Can’t locate object method
“DefaultOnCreate” via package “default” (perhaps you forgot to load
“default”?) at /opt/rt4/local/html/Ticket/Create.html line 71.

The above path shows that you have a local override of the entirety of
Ticket/Create.html You will need to update it for the changes in RT
4.2. If possible, I suggest re-writing your override as a callback
instead, which will simplify future upgrades.

  • Alex

Thanks Alex. It was a local override. I just got rid of it and am using
the default Create.html. I can create tickets now.

Thanks!

Max

Max McGrath
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.eduOn Mon, Oct 14, 2013 at 1:00 PM, Alex Vandiver alexmv@bestpractical.comwrote:

On Mon, 2013-10-14 at 10:15 -0500, Max McGrath wrote:

Hi all -

Upgraded from 4.0.16 to 4.2 on a test VM. I am unable to create a
ticket via the web interface…this is what I’m seeing in rt.log.

[6608] [Mon Oct 14 15:11:46 2013] [error]: Can’t locate object method
“DefaultOnCreate” via package “default” (perhaps you forgot to load
“default”?) at /opt/rt4/local/html/Ticket/Create.html line 71.

The above path shows that you have a local override of the entirety of
Ticket/Create.html You will need to update it for the changes in RT
4.2. If possible, I suggest re-writing your override as a callback
instead, which will simplify future upgrades.

  • Alex