DBIx::SearchBuilder 1.53 Error


#1

The following code produces an error from SearchBuilder version 1.53
(RT 3.4.2), with an Oracle 9.2.0 database. Is this a compatibility
issue between the RT version and SB version?

my $tix1 = RT::Tickets->new($RT::SystemUser);
$tix1->FromSQL(“Content LIKE ‘AAAA’ OR Content LIKE ‘BBBB’”);

while (my $tkt = $tix1->Next) {
print $tkt->id, “\n”;
}

The $tix1->Next call gives this error message:

[Wed Jul 9 20:08:39 2008] [crit]: Unsatisfied dependency chain in
joins Attachments_2 Transactions_1 at
/usr/local/perl5/lib/site_perl/5.8.4/DBIx/SearchBuilder/Handle.pm line 1056.
(/usr/local/rt3/lib/RT.pm:285)

Thanks,
Steve


#2

The following code produces an error from SearchBuilder version 1.53
(RT 3.4.2), with an Oracle 9.2.0 database. Is this a compatibility
issue between the RT version and SB version?
yep, either downgrade SB or upgrade RT to 3.4.HEAD from subversion
repository (you can as well look for patch there) or to RT 3.6.7.

my $tix1 = RT::Tickets->new($RT::SystemUser);
$tix1->FromSQL(“Content LIKE ‘AAAA’ OR Content LIKE ‘BBBB’”);

while (my $tkt = $tix1->Next) {
print $tkt->id, “\n”;
}

The $tix1->Next call gives this error message:

[Wed Jul 9 20:08:39 2008] [crit]: Unsatisfied dependency chain in
joins Attachments_2 Transactions_1 at
/usr/local/perl5/lib/site_perl/5.8.4/DBIx/SearchBuilder/Handle.pm line 1056.
(/usr/local/rt3/lib/RT.pm:285)

Thanks,
Steve


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Best regards, Ruslan.