[rt-users] Callbacks are broken after Migration

Dave Kettmann dkettmann at netlogic.net
Tue Sep 13 12:15:12 EDT 2005


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



More information about the rt-users mailing list