[rt-users] problems with mail interface

Jesse jesse at fsck.com
Wed May 17 15:28:17 EDT 2000


Cool. thanks. The mail gateway has never gotten a lot of testing or use :/
I'll put this into 1.0.cvs sometime in the near future.

On Wed, May 17, 2000 at 11:56:56AM -0700, Eric Goodman wrote:
> >hi,
> >
> >i tried the following two email commands:
> >
> >%RT SET due 65 05/18/00
> >%RT SET status 64 (closed yes)
> >
> >but they don't get recognized i.e. no action is taken. well
> >nearly no action is taken:
> >wenn iwant to change the date i get:
> >RT: Date due changed to Thu, Jan 1 1970 01:00:00 (225)
> >
> 
> There is a bug in rt/lib/rt/ui/mail/manipulate.pm in the "SET due" 
> handler. The function call
> 
>    ($trans, $message)=
>        &rt::change_due_date($serial_no, $date_due, $current_user);
> 
> is wrong. The second argument should be "$due_date", not "$date_due".
> 
> Also, there's another minor error in the "date_parse" routine in 
> rt/lib/rt/support/utils.pm. This routine will parse, e.g., 4/30/00 as 
> month=4, day=30, year=2000, but timelocal (to which this value is 
> later passed) expects months counting from 0, so most of the "$month 
> = $n" should really be "$month = $n - 1".
> 
> I haven't looked at the set status "closed" command, but the command:
> 
>    %RT RESOLVE 64
> 
> should work.
> 
> --- Eric
> 
> -- 
> Eric Goodman                  | "The opinions expressed by Eric do not
> Workstation Support Group     |  represent the opinions of anyone who
> UC Santa Cruz                 |  matters."
> ericg at cats.ucsc.edu           |   --- (modified from) "Cartoon Planet"
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
jesse reed vincent --- root at eruditorum.org --- jesse at fsck.com 
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
-------------------------------------------------------------
A REAL sysadmin challenge is "resurrect five dead mailserver while so ripped
to the gills on mdma that you can't focus on any given line of text for more 
than 10 seconds continuously."
					-Nathan Mehl





More information about the rt-users mailing list