[rt-users] upgrade warning message
Phil Homewood
pdh at snapgear.com
Mon Aug 12 21:15:40 EDT 2002
Phil Homewood wrote:
> OK, you're beyond my ability to debug now. :-) It appears that
> DBIx::SearchBuilder::Handle::dbh() is being called with a bogus
> arg (0 or undef, probably.) More context would be required to
> further track this.
Or not. Try this:
Index: insertdata
===================================================================
RCS file: /cvs/local/rt/tools/insertdata,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 insertdata
--- insertdata 15 Jul 2002 01:25:46 -0000 1.1.1.4
+++ insertdata 13 Aug 2002 01:14:15 -0000
@@ -95,6 +95,9 @@
#Load etc/config.pm and drop privs
LoadConfig();
+#Disconnect from the DB so we can reconnect using the real API
+$RT::Handle->Disconnect();
+
#Connect to the database and get RT::SystemUser and RT::Nobody loaded
DBConnect();
--
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
More information about the rt-users
mailing list