Callbacks are broken after Migration

Hello all,

I had to do an emergency migration last night of RT. I got RT up and running but it looks as if none of the Callbacks are working. The way I migrated it was:

Install RT 3.4.2 on the new machine and make sure I could log in.
Dump the database from the old server to a file
Push the data into the new database
Copy the old rt3 tree onto the new server.

Everything seems to work right now except Callbacks. I have RTFM and RTIR installed, but they do not show up on the menu to the left. What I get now on some pages is a Mason error:

System error

error: Can’t locate object method “new” via package “RTx::AssetTracker::Asset” (perhaps you forgot to load “RTx::AssetTracker::Asset”?) at /opt/rt3/share/html/AssetTracker/Asset/Display.html line 114.

context: …
110: # }}}
111: } else {
112: if (!$AssetObj) {
113:
114: $AssetObj = RTx::AssetTracker::Asset->new($session{‘CurrentUser’});
115:
116: $AssetObj = LoadAsset($ARGS{‘id’});
117: unless ($AssetObj->CurrentUserHasRight(‘ShowAsset’)) {
118: Abort(“No permission to view asset”);

code stack: /opt/rt3/share/html/AssetTracker/Asset/Display.html:114
/opt/rt3/share/html/autohandler:215

This Module is loaded thru a Callback and it not working properly (obviously)… I also put in a custom callback that should display the type of ticket in the Basics box in a ticket, but it is not working either. Any help is appreciated as this is a live system and we are not able to fully function without modules accessed by Callbacks.

If anymore information is needed, let me know and I will get it to you as soon as I can.

Thanks,

Dave Kettmann
NetLogic
314-266-4000

I had to do an emergency migration last night of RT. I got RT up and running but it looks as if none of the Callbacks are working. The way I migrated it was:

Install RT 3.4.2 on the new machine and make sure I could log in.
Dump the database from the old server to a file
Push the data into the new database
Copy the old rt3 tree onto the new server.

Everything seems to work right now except Callbacks. I have RTFM and RTIR installed, but they do not show up on the menu to the left. What I get now on some pages is a Mason error:

Do you have the same HTML::Mason version as on the old box? You may
have to back down to an older Mason or update RT to 3.4.4.

Les Mikesell
les@futuresource.com

I had to do an emergency migration last night of RT. I got RT up and
running but it looks as if none of the Callbacks are working.

Back HTML::Mason down to 1.28 from 1.3x; the 1.3x versions broke some
APIs that RT uses.

  • Alex

I had to do an emergency migration last night of RT. I got RT up and
running but it looks as if none of the Callbacks are working.

Back HTML::Mason down to 1.28 from 1.3x; the 1.3x versions broke some
APIs that RT uses.

RT 3.4.4 should work ok with Mason 1.3101, though.