Skip Menu |

This queue is for tickets about the RT-Extension-MandatoryOnTransition CPAN distribution.

Report information
The Basics
Id: 103498
Status: resolved
Priority: 0/
Queue: RT-Extension-MandatoryOnTransition

People
Owner: Nobody in particular
Requestors: max [...] tcen.ru
Cc:
AdminCc:

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



Subject: current git snapshot does not work with non-latin1 CF names
Date: Mon, 13 Apr 2015 20:39:19 +0300
To: bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org
From: Max Kosmach <max [...] tcen.ru>
Hi Current RT-Extension-MandatoryOnTransition git snapshot does not work with non-latin1 CF names. First example - does not work CF - 'Категория' config: Set( %MandatoryOnTransition, 'CRM' => { '* -> resolved' => [ 'TimeWorked', 'CF.Категория', ], }, ); second example - work ok rename CF from 'Категория' to 'Category' config: Set( %MandatoryOnTransition, 'CRM' => { '* -> resolved' => [ 'TimeWorked', 'CF.Category', ], }, ); -- With best wishes, Max
Subject: Re: [rt.cpan.org #103498] current git snapshot does not work with non-latin1 CF names
Date: Mon, 13 Apr 2015 10:43:46 -0700
To: bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org
From: Alex Vandiver <alexmv [...] bestpractical.com>
On Mon, 13 Apr 2015 13:39:35 -0400 "Max Kosmach via RT" <bug-RT-Extension-MandatoryOnTransition@rt.cpan.org> wrote: Show quoted text
> Current RT-Extension-MandatoryOnTransition git snapshot does not work > with non-latin1 CF names.
Does it work if you add: use utf8; to the top of your RT_SiteConfig.pm file, and be sure to encode the file as UTF-8 when you save it? - Alex
Subject: Re: [rt.cpan.org #103498] current git snapshot does not work with non-latin1 CF names
Date: Tue, 14 Apr 2015 00:33:31 +0300
To: bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org
From: Max Kosmach <max [...] tcen.ru>
13.04.2015 20:43, Alex Vandiver via RT пишет: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=103498 > > > On Mon, 13 Apr 2015 13:39:35 -0400 "Max Kosmach via RT" > <bug-RT-Extension-MandatoryOnTransition@rt.cpan.org> wrote:
>> Current RT-Extension-MandatoryOnTransition git snapshot does not work >> with non-latin1 CF names.
> > Does it work if you add: > > use utf8; > > to the top of your RT_SiteConfig.pm file, and be sure to encode the > file as UTF-8 when you save it? > - Alex
Yes, RT_SiteConfig.pm was in utf8 encoding already and after I add use utf8 at the top of RT_SiteConfig.pm this extension work normally. Thank You very much! PS. Why RT does not use utf8 as default encoding for config/templates/etc? -- With best wishes Max
Subject: Re: [rt.cpan.org #103498] current git snapshot does not work with non-latin1 CF names
Date: Mon, 13 Apr 2015 14:40:35 -0700
To: bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org
From: Alex Vandiver <alexmv [...] bestpractical.com>
On Mon, 13 Apr 2015 17:33:51 -0400 "Max Kosmach via RT" <bug-RT-Extension-MandatoryOnTransition@rt.cpan.org> wrote: Show quoted text
> Yes, RT_SiteConfig.pm was in utf8 encoding already and after I add use > utf8 at the top of RT_SiteConfig.pm this extension work normally. > Thank You very much! > > PS. Why RT does not use utf8 as default encoding for config/templates/etc?
It does for templates. For configuration, that's a property of perl. We're planning on adding an explicit "use utf8" to the top of the default RT_SiteConfig.pm in the future, but we don't have a way to force perl to change which encoding it chooses for existing RT_SiteConfig.pm files, unfortunately. - Alex