[rt-users] SQL syntax error in 3.0.7

Jesse Vincent jesse at bestpractical.com
Tue Dec 30 16:19:01 EST 2003




On Tue, Dec 30, 2003 at 11:41:27AM -0800, Blair Zajac wrote:
> Jesse Vincent wrote:
> > 
> > On Tue, Dec 30, 2003 at 09:11:33AM -0800, Blair Zajac wrote:
> > > Hello,
> > >
> > > I'm seeing these intermittent warning messages in my /var/log/messages
> > > on RedHat 9.
> > 
> > What DBIx::SearchBuilder? And can you peek in your mysql error log to
> > see if it's the "Load an empty user" issue or something else?
> 
> It's 0.95 of DBIx::SearchBuilder.  I've got all the latest CPAN packages
> in my Perl install, using Perl 5.8.2.

It turns out that this is the same problem with trying to Load a user
whose name is "RT::CurrentUser=0x.....". DBIx::SearchBuilder just fails
more obviously when someone tries to do something dangerous.

lib/RT/Interface/Web.pm. sub loc. (Line 216 in 3.0.8rc1) 

change "RT::SystemUser" to "RT::SystemUser->Name"

That will fix it. 

This fix will be in 3.0.8



-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list