[rt-users] What "Config" button? (new install)
Jeff Blaine
jblaine at linus.mitre.org
Fri Feb 8 16:29:33 EST 2002
If I put 2 debug lines in Handle.pm as such:
my $sth = $self->SimpleQuery($query, @bind_values); # NOT MY LINE
print "STH: $sth\n"; # MINE
print "QUERY: $query\n\n"; # MINE
You can see that the 2nd $sth is broken/dead/empty
Bleah... no idea how to debug this.
=============================================================================
STH: DBI::st=HASH(0x4cb8a0)
QUERY: SELECT COUNT(ACL.id) FROM ACL, Groups WHERE ((RightScope = 'System')) AND ((RightName = 'AdminUsers')) AND (((Groups.Name = 'Everyone') AND
(PrincipalType = 'Group') AND
(Groups.Id = PrincipalId)))
STH:
QUERY: SELECT COUNT(ACL.id) FROM ACL, GroupMembers, Groups WHERE (((((RightScope = 'System')) AND ((RightName = 'AdminUsers'))) OR ((RightName = 'SuperUser') AND (RightScope = 'System') AND (RightAppliesTo = 0))) AND (((ACL.PrincipalType = 'Group') AND (ACL.PrincipalId = Groups.Id) AND (GroupMembers.GroupId = Groups.Id) AND (GroupMembers.UserId = ))))
Can't call method "fetchrow" on an undefined value at /afs/rcf/apps/RT/sun4x_57/support/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 357.
More information about the rt-users
mailing list