RTFM API question

RT::FM::Article implements this method:

sub URI {
my $self = shift;

unless ( $self->CurrentUserHasRight('ShowArticle') ) {
    return $self->loc("Permission Denied");
}

my $uri = RT::URI::fsck_com_rtfm->new( $self->CurrentUser );
return ( $uri->URIForObject($self) );

}

Why computer the URI when it is stored in the table?

Is it because the organiztion name might be changed?

What is the best way to get the URI stored in the table?
$self->{URI} ?

-Todd

Why computer the URI when it is stored in the table?

I’m betting that it simply didn’t get chopped out of the code. It probably should.

Why computer the URI when it is stored in the table?

I’m betting that it simply didn’t get chopped out of the code. It probably should.

I have no plans on touching that but it should be noted
the code depends on it. Article::Create() calls
$self->URI and then calls $self->__Set to set it, so
that would have to be refactored.