I can get First to work:
$Ticket->Transactions->First->Content()
but not Last.
According to this e-mail:
http://lists.fsck.com/pipermail/rt-users/2002-July/009114.html
it has worked for the poster. Not for me. I get:
Program fragment delivered error ``Can’t locate object method “Last” via
package “RT::Transactions” (perhaps you forgot to load “RT::Transactions”?)
at template line 26, line 1430.‘’
We’re running 2.0.14.
Anyone run into this?
-jr
Josh Richards <jrichard@{ digitalwest.net, geekresearch.com, cubicle.net }>
Digital West Networks, Inc. - “Making Internet Business Better”
San Luis Obispo, CA - URL:http://www.digitalwest.net/ - ASN 14589
Josh Richards wrote:
I can get First to work:
$Ticket->Transactions->First->Content()
but not Last.
You need to be running a quite recent version of DBIx::SearchBuilder.
0.61 is apparently a suitable version for general use.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
Hi,
Is there already a fix for following problem ?
(I use RT 2.0.13)
thanks
Christian
http://fsck.com/rt2/Ticket/Display.html?id=1285
– Cite –
RT will accept a foreign URL but not display it correctly
RT allows a ticket to depend on an arbitrary
URL, such as http://www.yahoo.com/ . But the URL is
then displayed as:
: () []
i.e., as a colon, then a pair of parentheses, then a
pair of brackets.
Preferably RT should display the URL correctly as a
clickable link. Then a ticket in one trouble-ticket system
can depend on a ticket in some other (non-RT) trouble-ticket
system.
Rahul
P.S. This ticket is being made to depend on http://www.yahoo.com/
as an example.
– End Cite –
christian janssen wrote:
RT allows a ticket to depend on an arbitrary URL, such as
http://www.yahoo.com/ . But the URL is then displayed as:
: ()
i.e., as a colon, then a pair of parentheses, then a pair of brackets.
That’s odd. They display correctly round here.
Then a ticket in one trouble-ticket system can depend on a ticket in
some other (non-RT) trouble-ticket system.
See also %URI2HTTP in config.pm which allows you to do this in a
convenient manner.
Smylers
GBdirect
christian janssen wrote:
RT allows a ticket to depend on an arbitrary URL, such as
http://www.yahoo.com/ . But the URL is then displayed as:
: ()
i.e., as a colon, then a pair of parentheses, then a pair of brackets.
That’s odd. They display correctly round here.
Try making a ticket ‘depend’ on an external url. It will display as ‘sad
smiley face, multiple chins’ as mentioned above.
Bruce Campbell RIPE
Systems/Network Engineer NCC
www.ripe.net - PGP562C8B1B Operations/Security
Is there already a fix for following problem ?
http://fsck.com/rt2/Ticket/Display.html?id=1285
– Cite –
Subject: RT will accept a foreign URL but not display it correctly
RT will accept a foreign URL but not display it correctly
RT allows a ticket to depend on an arbitrary
URL, such as http://www.yahoo.com/ . But the URL is
then displayed as:
: ()
Ok, one fix for /Ticket/Display.html. Note that I haven’t fixed the same
problem coming from /Ticket/ModifyLinks.html as I don’t have time to track
down where the additional passing of arguments is going, but it seems to
work.
Bruce Campbell RIPE
Systems/Network Engineer NCC
www.ripe.net - PGP562C8B1B Operations/Security
/Ticket/Elements/ShowLinksLocalDetail
<% $LinkFriendly %>:
% while (my $Link = $Ticket->$LinkType->Next) {
% my $member = $Link->TargetObj;
% if( $Link->TargetIsLocal() ){
- <%$member->Id%>: (<%$member->OwnerObj->Name%>) <%$member->Subject%>
[<%$member->Status%>]
% }else{
<LI><a href="<% $Link->TargetAsHREF %>"><% $Link->TargetAsHREF %></a>
% }
% }
</UL>
<%ARGS>
$Ticket => undef
$LinkType => undef
$LinkFriendly => undef
</%ARGS>
/Ticket/Elements/ShowLinks
<& /Ticket/Elements/ShowLinksLocalDetail, Ticket => $Ticket, LinkType => "DependsOn", LinkFriendly => "Depends on" &>
<& /Ticket/Elements/ShowLinksLocalDetail, Ticket => $Ticket, LinkType => "DependedOnBy", LinkFriendly => "Depended on by" &>
<& /Ticket/Elements/ShowLinksLocalDetail, Ticket => $Ticket, LinkType => "MemberOf", LinkFriendly => "Parents" &>
Children:<BR>
<& /Ticket/Elements/ShowMembers, Ticket => $Ticket &>
<BR>
<& /Ticket/Elements/ShowLinksLocalDetail, Ticket => $Ticket, LinkType => "RefersTo", LinkFriendly => "Refers to" &>
Referred to by:<BR>
<UL>
% while (my $Link = $Ticket->ReferredToBy->Next) {
<LI>
% if ($Link->BaseIsLocal) {
% my $member = $Link->BaseObj;
<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<%$member->Status%>]<br>
% } else {
<A HREF="<%$Link->BaseAsHREF%>"><%$Link->Base%></A>
%}
% }
</UL>
<%ARGS>
$Ticket => undef
</%ARGS>
Bruce Campbell wrote:> On Thu, 15 Aug 2002, Smylers wrote:
christian janssen wrote:
RT allows a ticket to depend on an arbitrary URL, such as
http://www.yahoo.com/ . But the URL is then displayed as:
: ()
i.e., as a colon, then a pair of parentheses, then a pair of brackets.
That’s odd. They display correctly round here.
Try making a ticket ‘depend’ on an external url.
Ah. That’s exactly what Christian said in the first place – I’ve
clearly lost the ability to read. Ooops.
Smylers
GBdirect
Bruce Campbell wrote:
That’s odd. They display correctly round here.
Try making a ticket ‘depend’ on an external url.
Ah. That’s exactly what Christian said in the first place – I’ve
clearly lost the ability to read. Ooops.
Abg whfg lbhe sevraqyl Theh, ohg nyfb lbhe unaql crefba gb fgngr gur
oyrrqvat boivbhf.
Oehpr Pnzcoryy EVCR
Flfgrzf/Argjbex Ratvarre APP
jjj.evcr.arg - CTC562P8O1O Bcrengvbaf/Frphevgl
Hi,
thanks a lot, as you and also the “TT” mentioned:
Refers to:
Referred to by:
works correct.
cheers
Christian
Remark: by the way, I will try your (Bruce) mail notification script,
tomorrow.
At 14:45 15.08.2002 +0200, Bruce Campbell wrote:>On Thu, 15 Aug 2002, Smylers wrote:
christian janssen wrote:
RT allows a ticket to depend on an arbitrary URL, such as
http://www.yahoo.com/ . But the URL is then displayed as:
: ()
i.e., as a colon, then a pair of parentheses, then a pair of brackets.
…
…
…
Hi Bruce,
thanks a lot, as you and also the “TT” mentioned:
Refers to:
Referred to by:
works correct.
cheers
Christian
Remark: by the way, I will try your mail notification script, tomorrow.
At 14:45 15.08.2002 +0200, Bruce Campbell wrote:>On Thu, 15 Aug 2002, Smylers wrote:
christian janssen wrote:
RT allows a ticket to depend on an arbitrary URL, such as
http://www.yahoo.com/ . But the URL is then displayed as:
: ()
i.e., as a colon, then a pair of parentheses, then a pair of brackets.
…
…
…