URL Dependencies

Hi,

I’m having a problem in version 3.0.4 with a ticket dependency. I added a
ticket dependency as a URL to another ticket. The URL shows up fine in the
Relationships section. However, when I try to edit the ticket links, I get
this:

error: Can’t call method “Id” on an undefined value at
/usr/local/rt/share/html/Ticket/Elements/EditLinks line 40.
context:

36:


37: % while (my $link = $Ticket->DependsOn->Next) {
38: % my $member = $link->TargetObj;
39:
40: <%$member->Id%>:
(<%$member->OwnerObj->Name%>) <%$member->Subject%>
41: [<%$member->Status%>]

42: % }
43:
44:

code stack: /usr/local/rt/share/html/Ticket/Elements/EditLinks:40
/usr/local/rt/share/html/Ticket/ModifyLinks.html:36
/usr/local/rt/share/html/autohandler:163

[raw error]

Can’t call method “Id” on an undefined value at
/usr/local/rt/share/html/Ticket/Elements/EditLinks line 40.

Trace begun at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception(‘Can’t call method “Id” on
an undefined value at /usr/local/rt/share/html/Ticket/Elements/EditLinks line
40.^J’) called at /usr/local/rt/share/html/Ticket/Elements/EditLinks line 40
HTML::Mason::Commands::ANON(‘Ticket’, ‘RT::Ticket=HASH(0x99adc18)’) called
at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9576bb4)’,
‘Ticket’, ‘RT::Ticket=HASH(0x99adc18)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x9576bb4)’, ‘Ticket’,
‘RT::Ticket=HASH(0x99adc18)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, ‘Ticket’, ‘RT::Ticket=HASH(0x99adc18)’)
called at /usr/local/rt/share/html/Ticket/ModifyLinks.html line 36
HTML::Mason::Commands::ANON(‘id’, 785, ‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x957fa58)’,
‘id’, 785, ‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1062
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x957fa58)’, ‘id’, 785, ‘id’,
785) called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line
1056
HTML::Mason::Request::comp(undef, undef, ‘id’, 785, ‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 752
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x999d354)’,
‘id’, 785) called at /usr/local/rt/share/html/autohandler line 163
HTML::Mason::Commands::ANON(‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8f4ac98)’,
‘id’, 785) called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 1057
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x8f4ac98)’, ‘id’, 785)
called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, undef, ‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef, ‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef, ‘id’, 785) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 290
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x999d354)’)
called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x999d354)’) called at
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x999d354)’)
called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x91f81f8)’,
‘Apache=SCALAR(0x963b27c)’) called at /usr/local/rt/bin/webmux.pl line 118
RT::Mason::handler(‘Apache=SCALAR(0x963b27c)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0x963b27c)’) called at /dev/null line 0