On Mar 3, 2007, at 2:45 AM, Jamie A Lawrence wrote:

Hi, all -

I just set up RT 3.6.3 with RTFM (2.0.4, I think, but whatever the latest production was about a week ago).

Everything's fine (fully functional, and mostly already in use), save one thing. Anchors in the 'Links' sections all point to localhost, implicit port 80, instead of the configured host/port. Only those - everything else just works fine.




When you viewed the "configuration" page in the Admin UI, what did you see? (Had your changes taken effect?)

-jesse


I Set $WebBaseURL in SiteConfig, and then to be sure, hardcoded $WebURL. I went so far as to do the same in RT_Config (I know, but this was becoming cargo coding, and I changed it back.). Yes, server restarts in between.

So, I started tracing through the code stack, and came to lib/RT/ URI/fsck_com_rt.pm. Sure enough, once I committed the ultimate sin:

sub HREF {
    my $self = shift;
if ($self->IsLocal && $self->Object && ($self->ObjectType eq 'ticket')) { return ( 'http://my.domain.com:8080/' . "Ticket/ Display.html?id=".$self->Object->Id); #return ( $RT::WebURL . "Ticket/Display.html?id=".$self- >Object->Id);
    }
    else {
        return ($self->URI);
    }
}

It worked.

(1) Does anyone have any idea why this might be happening?
(2) Is this going to break something I haven't noticed yet (other than the inevitable grief in a year when I upgrade and don't remember that I did that), if I leave it in place out of expediency?

TIA,

-j
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


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

Reply via email to