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/ __(_)/_(_)________/ \_______(_) /_(_)__