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

Ruslan Zakirov ruz at bestpractical.com
Tue Jun 10 17:35:46 EDT 2008


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
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list