Can't call method "Scheme" on an undefined value at /usr/local/rt3/lib/RT/Ticket_Overlay.pm line 2585

Hi,

when updating tickets, I sometimes get this error:
Can’t call method “Scheme” on an undefined value at
/usr/local/rt3/lib/RT/Ticket_Overlay.pm line 2585.

context:


2581: elsif ( $args{‘Base’} ) {
2582: $other_ticket_uri->FromURI( $args{‘Base’} );
2583: }
2584:
2585: if ( $other_ticket_uri->Resolver->Scheme eq ‘fsck.com-rt’) {
2586: my $object = $other_ticket_uri->Resolver->Object;
2587:
2588: if ( UNIVERSAL::isa( $object, ‘RT::Ticket’ )
2589: && $object->id

code stack:
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2585
/usr/local/rt3/lib/RT/Ticket_Overlay.pm:2556
/usr/local/rt3/lib/RT/Interface/Web.pm:1477
/usr/local/rt3/lib/RT/Interface/Web.pm:1427
/usr/local/rt3/share/html/Ticket/Display.html:142
/usr/local/rt3/share/html/Ticket/Update.html:214
/usr/local/rt3/share/html/autohandler:215

What does that mean?

(This is 3.4.2 on FreeBSD5.4#2, with Postgresql8, mod_perl1)

Rainer

[snip] What does that mean?

…that there’s a bug in 3.4.2, which is triggered by trying to link to a
non-existent ticket during creation. Or, rather, there was a bug. It
is now fixed in the SVN repository; if you care in the short term, a
patch is attached.

  • Alex

Alex Vandiver wrote:>On Wed, 2005-06-29 at 13:17 +0200, Rainer Duffner wrote:

[snip] What does that mean?

…that there’s a bug in 3.4.2, which is triggered by trying to link to a
non-existent ticket during creation.

Well, it happens during updates, too.
And the linked tickets do exist.

Rainer

Well, it happens during updates, too.
Can you send that traceback, too, then?

And the linked tickets do exist.
Hrm. Technically, it just means that the RT::Link class couldn’t make
heads or tails of what it was passed, which generally means that you
entered a number to a ticker ID that doesn’t exist. What, exactly, are
you entering in to which box?

  • Alex