[rt-users] Spaces not allowed in Custom Fields when generating tickets via e-mail

Kenneth Crocker KFCrocker at lbl.gov
Wed Jun 18 17:18:43 EDT 2008


Ruslan,


	I was following this thread because I was having trouble creating a 
ticket via email using the format found in Tools->Offline. It didn't 
take any of the data I entered for the Requestor and Owner and a few 
other fields. SO I went to the file you wrote here, just to see what I 
can see (the bear went over the mountain...) and the TakeAction file is 
not in that directory. Would my trouble creating a ticket via email with 
the offline format be caused by that file NOT being there? Thanks.

Kenn
LBNL

On 6/10/2008 2:35 PM, Ruslan Zakirov wrote:
> Guys, in lib/RT/Interface/Email/Filter/TakeAction.pm file replace the
> following line:
> 
>         last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;
> 
> with
> 
>         last if $line !~ /^(?:([^:]+)\s*?:\s*?(.*)\s*?|)$/;
> 
> stop and start server, test, report back. however this change will
> make ':' character illegal in CF name.
> 
> On Tue, Jun 10, 2008 at 8:48 PM, Jean-Sebastien Morisset
> <jsmoriss at mvlan.net> wrote:
>> On Mon, Jun 09, 2008 at 09:29:19PM -0400, Firas Batal wrote:
>>> Hi everyone,
>>>
>>> I am sending this email hopping that someone has encountered this
>>> anomaly before.
>>>
>>> We have 3.6.3 installed on RHEL4, Apache 2.x, MySQL 5.0.45, Perl 5.10.
>>>
>>> I have installed RT::Extension::CommandByMail  and the functionality is
>>> great.  But, the mechanism fails when I need to set the values of a
>>> custom field that has spaces, as shown in below.     The custom field
>>> could be set correctly using web UI, but not through emails!
>>>
>>> Status: open
>>> CustomField.{Request Type}: foo
>>>
>>> Have anyone encountered this before?
>> I also just found this problem. Has anyone found a solution (aside from
>> renaming the custom field)?
>>
>> Thanks,
>> js.
>> --
>> Jean-Sebastien Morisset, Sr. UNIX Administrator <jsmoriss at mvlan.net>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
> 
> 
> 




More information about the rt-users mailing list