Can't call method "Scheme" on an undefined value at

I receive the following error when attempting to update a ticket that has a
link to another ticket in the "Refers to: " section.

error: Can’t call method “Scheme” on an undefined value at
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm line 2581.

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

code stack: /usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2581
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2552
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1464
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1414
/usr/share/request-tracker3.4/html/Ticket/Display.html:141
/usr/share/request-tracker3.4/html/Ticket/Update.html:211
/usr/share/request-tracker3.4/html/autohandler:215

I am, however, able to update the other ticket (Refers to by:) with no
problem.

Running 3.4.1 on Debian Sarge. w/ RTFM 2.1.37

Thanks,
Brian

Has anyone run into the error below?
If so, any advise?

Thanks,
Brian

I receive the following error when attempting to update a ticket that has a
link to another ticket in the "Refers to: " section.

error: Can’t call method “Scheme” on an undefined value at
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm line 2581.

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

code stack: /usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2581
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2552
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1464
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1414
/usr/share/request-tracker3.4/html/Ticket/Display.html:141
/usr/share/request-tracker3.4/html/Ticket/Update.html:211
/usr/share/request-tracker3.4/html/autohandler:215

I am, however, able to update the other ticket (Refers to by:) with no
problem.

Running 3.4.1 on Debian Sarge. w/ RTFM 2.1.37

Thanks,
Brian

Could be that link points to object that doesn’t exist? Turn on
logging and reload page. You should see other errors before the one
you’re seeing.

Also did you use shredder? I’ve found one bug in it that may be a
source of your problem.On 5/9/06, Brian Kurowsky bkurowsky@hotmail.com wrote:

I receive the following error when attempting to update a ticket that has a
link to another ticket in the "Refers to: " section.

error: Can’t call method “Scheme” on an undefined value at
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm line 2581.

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

code stack: /usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2581
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2552
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1464
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1414
/usr/share/request-tracker3.4/html/Ticket/Display.html:141
/usr/share/request-tracker3.4/html/Ticket/Update.html:211
/usr/share/request-tracker3.4/html/autohandler:215

I am, however, able to update the other ticket (Refers to by:) with no
problem.

Running 3.4.1 on Debian Sarge. w/ RTFM 2.1.37

Thanks,
Brian


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Best regards, Ruslan.

No, the ticket exists.

What’s happening is when I hit the “submit” button to update a ticket that
has the “Refers to:” side of the linked tickets, I get the error below –
but the ticket still updates.

When I go to update the ticket on the “Referred to by:” side of the linked
tickets, all is good.

Also, it’s only when the link refers to another ticket. When the “Refers
to:” side points to an article in RTFM, I get no error.

Thanks,
BrianOn 5/27/06 Ruslan Zakirov <ruslan.zakirov [at] gmail.com> wrote:

Could be that link points to object that doesn’t exist? Turn on
ogging and reload page. You should see other errors before the one
you’re seeing.

Also did you use shredder? I’ve found one bug in it that may be a
source of your problem.

On 5/9/06, Brian Kurowsky <bkurowsky[at]hotmail.com> wrote:

I receive the following error when attempting to update a ticket that has
a
link to another ticket in the "Refers to: " section.

error: Can’t call method “Scheme” on an undefined value at
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm line 2581.

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

code stack: /usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2581
/usr/share/request-tracker3.4/lib/RT/Ticket_Overlay.pm:2552
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1464
/usr/share/request-tracker3.4/lib/RT/Interface/Web.pm:1414
/usr/share/request-tracker3.4/html/Ticket/Display.html:141
/usr/share/request-tracker3.4/html/Ticket/Update.html:211
/usr/share/request-tracker3.4/html/autohandler:215

I am, however, able to update the other ticket (Refers to by:) with no
problem.

Running 3.4.1 on Debian Sarge. w/ RTFM 2.1.37

Thanks,
Brian

Is it possible for a RT user to be able to see in which groups he is a
member?

Tomasz Wlodek | tel 631-344-7448
Brookhaven Laboratory, Building 510M | fax 631-344-7616
Upton NY 11973-5000 |