[rt-users] Can't call method "Scheme" on an undefined value at ...

Ruslan Zakirov ruslan.zakirov at gmail.com
Sat May 27 17:55:19 EDT 2006


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 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
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at 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: http://bestpractical.com/about/jobs.html
>


-- 
Best regards, Ruslan.


More information about the rt-users mailing list