Skip Menu |

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

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

People
Owner: DMITRI [...] cpan.org
Requestors: howie [...] thingy.com
Cc:
AdminCc:

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



Subject: Correspond fails?
Date: Mon, 07 Aug 2006 21:15:17 +0100
To: bug-RT-Client-REST [...] rt.cpan.org
From: Howard Jones <howie [...] thingy.com>
Hi, I've been modifying the example/create_ticket.pl to make a version that creates a ticket, then adds a requestor and an admincc (so that the requestor doesn't get a 'this transaction is blank' mail), and then corresponds with them. The first parts are working OK, using ticket->new, store, requestor, admin_cc, store. When I try and call ->correspond() on the same ticket object, I get "ticket: Unknown field # action: Unknown field # text: Unknown field" Is it supposed to work? What is missing? I didn't see any README, or anything in the R:C:R:Ticket POD to suggest it didn't work as advertised... Best Regards, Howard Jones
Hi Howard, what version of RT server are you using? - Dmitri.
Subject: Re: [rt.cpan.org #20880] Correspond fails?
Date: Tue, 08 Aug 2006 22:45:41 +0100
To: bug-RT-Client-REST [...] rt.cpan.org
From: Howard Jones <howie [...] thingy.com>
via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=20880 > > > Hi Howard, > > what version of RT server are you using? >
3.4.5 I noticed from the other tickets that it may be relevant that I'm not doing this on a system that has RT installed on it, but another intranet server. Best Regards, Howard
From: DMITRI [...] cpan.org
On Tue Aug 08 17:46:00 2006, howie@thingy.com wrote: Show quoted text
> 3.4.5
Ah, OK. RT::Client::REST 'comment' and 'correspond' will not work in 3.4.5 (for the time being), since it's targetted towards 3.6.0 and the two are not compatible for these methods. You can do two things: 1. Wait until I make a release where you can specify an option to make it 3.4.5-compatible, or 2. Copy REST from 3.6.1 into 3.4.5. It should work out of the box, plus it supports more features (take, untake, steal). Show quoted text
> I noticed from the other tickets that it may be relevant that I'm not > doing this on a system that has RT installed on it, but another intranet > server.
AFAIK, it should make no difference. - Dmitri.
I should have really added a note to the documentation about this... BTW, you can test 'correspond' against this site -- it will work :) - Dmitri.
Howard, I have tested rt 3.4.5 and it looks like 'correspond' and 'comment' actions simply don't work in its REST protocol implementation. I also tested 'rt' command-line interface, and it cannot post comments either. I am marking this ticket as "rejected" since I obviously do not control server-side RT code. What you can do is put 3.6 REST code into 3.4.5 and it should "just work". - Dmitri.
Subject: Re: [rt.cpan.org #20880] Correspond fails?
Date: Wed, 09 Aug 2006 17:14:16 +0100
To: bug-RT-Client-REST [...] rt.cpan.org
From: Howard Jones <howie [...] thingy.com>
via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=20880 > > > Howard, > > I have tested rt 3.4.5 and it looks like 'correspond' and 'comment' > actions simply don't work in its REST protocol implementation. I also > tested 'rt' command-line interface, and it cannot post comments either. > > I am marking this ticket as "rejected" since I obviously do not control > server-side RT code. What you can do is put 3.6 REST code into 3.4.5 > and it should "just work".
Fair enough :-) I'll give it a try tomorrow.