[rt-users] Re: Can't call method "Scheme" on an undefined value at ...
Brian Kurowsky
bkurowsky at hotmail.com
Tue Jun 6 09:54:39 EDT 2006
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,
Brian
On 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
>>
>>
More information about the rt-users
mailing list