Skip Menu |

This queue is for tickets about the RT-Client-REST CPAN distribution.

Report information
The Basics
Id: 25648
Status: rejected
Priority: 0/
Queue: RT-Client-REST

People
Owner: DMITRI [...] cpan.org
Requestors: jwm [...] horde.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 'Unknown key: effectiveticket' when fetching transactions
Date: Thu, 22 Mar 2007 09:15:16 -0400
To: bug-RT-Client-REST [...] rt.cpan.org
From: John Morrissey <jwm [...] horde.net>
RT::Client::Rest::Object emits the warning: 'Unknown key: effectiveticket' when fetching transactions from a server running RT 3.0.12. This patch fixes this, or at least silences the warning. :-) Also, the POD for RT::Client::REST 0.27 still identifies itself as 0.25: =head1 VERSION This is version 0.25 of B<RT::Client::REST>. --- Transaction.pm 2007-03-22 12:55:09.000002000 +0000 +++ Transaction.pm.orig 2007-03-22 12:55:00.000003000 +0000 @@ -99,6 +99,12 @@ type => SCALAR, }, }, + + effectiveticket => { + validation => { + type => SCALAR, + }, + }, }} sub rt_type { 'transaction' } john -- John Morrissey _o /\ ---- __o jwm@horde.net _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
On Thu Mar 22 09:15:57 2007, jwm@horde.net wrote: Show quoted text
> RT::Client::Rest::Object emits the warning: > > 'Unknown key: effectiveticket' > > when fetching transactions from a server running RT 3.0.12. This patch > fixes this, or at least silences the warning. :-)
Hi John, thanks for the report. RT::Client::REST is intended to work with RT 3.6.x (or 3.4.5 with RT 3.6.x REST code included). I've never seen RT 3.0.12 in action. Is "effectiveticket" something that has been obsoleted in the later RT releases? - Dmitri.
Subject: Re: [rt.cpan.org #25648] 'Unknown key: effectiveticket' when fetching transactions
Date: Mon, 26 Mar 2007 19:56:59 -0400
To: Dmitri Tikhonov via RT <bug-RT-Client-REST [...] rt.cpan.org>
From: John Morrissey <jwm [...] horde.net>
On Mon, Mar 26, 2007 at 01:40:20PM -0400, Dmitri Tikhonov via RT wrote: Show quoted text
> thanks for the report. RT::Client::REST is intended to work with RT > 3.6.x (or 3.4.5 with RT 3.6.x REST code included). I've never seen RT > 3.0.12 in action. Is "effectiveticket" something that has been > obsoleted in the later RT releases?
I'm really not sure; the last mention of it I can find is in 3.2: http://code.bestpractical.com/bps-public/rt/branches/3.2-RELEASE/lib/RT/Transaction.pm There's no mention of EffectiveTicket in the 3.4- or 3.6-RELEASE branches. The REST interface works great with RT 3.0.x; this is the only problem I've had while writing a client that fetches tickets/attachments/transactions. john -- John Morrissey _o /\ ---- __o jwm@horde.net _-< \_ / \ ---- < \, www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
Will not support RT versions that old