[rt-users] Revisiting CommandByMail problem
Joe Harris
drey111 at gmail.com
Mon Nov 22 17:28:04 EST 2010
I ran into the same issue when trying to set a due date in a reply. But during create it works. I got around it by providing my users a php web form that generates the email and forces them to set due date and priority at ticket creation. There is likely an easier way to do this, but many of the folks here that submit tickets aren't RT users, so it works well to drive the users to pass the right info when sending in a request.
Sent from blackberry
-----Original Message-----
From: Kenneth Crocker <kfcrocker at lbl.gov>
Sender: rt-users-bounces at lists.bestpractical.com
Date: Mon, 22 Nov 2010 14:01:00
To: <rt-users at lists.bestpractical.com>
Subject: [rt-users] Revisiting CommandByMail problem
To List,
I've continued to have problems with getting an error message from RT when
using CommandByMail and I found an interesting situation:
When I *create* a ticket using email and include many fields (dates and
otherwise), the ticket is created and I get no error message back.
When I try to *update* a ticket using CommandByMail (referencing the ticket
in the Subject line), the ticket is updated, yet I get an error message back
from RT in email stating errord for the date fields. Yet the data WAS
updated.
I went to the rt.log and noticed that the update fields get updated, then a
transaction Type "Correspond" is processed and THEN the error messages get
sent.
I then went to the DataBase and looked at the TRANSACTION Table and found
the transactions and sure enough, there is a transaction record Type "Set"
for each date field and any other fields all followed by that "Correspond":
Type trans record. I also noticed that regardless of what non-date fields I
am updating in sequence after the date fields, the transactions for the date
fields are always processed last just before the transaction type
"correspond".
I just did a complete install of CommandByMail to ensure I hadn't
accidentally messed up any files.
So, I have two questions:
1) Why does the "Create" email work without any error messages and the
"Update" work but send error messages?
2) Why would CBM go ahead and update the ticket and then only when it
processes the "Correspond" transaction decide to send out error messages for
the date fields?
Any and all help will be greatly appreciated.
Kenn
LBNL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101122/d102df25/attachment.htm>
More information about the rt-users
mailing list