[Rt-devel] RT 3.2.2 custom scrip with user defined condition fails
Stefan Fischer
stefan at van-boxmer.de
Fri Jan 28 02:17:21 EST 2005
Hi,
i have test it but with no luck. The error ist the same as described. A
function in /usr/share/perl5/IO/ScalarArray.pm on line 350 generates the
errror message. "$/ as given is currently unsupportet" But i don't know why.
Greetings
- Stefan
Eduard Rushanian wrote:
> Hi,
>
> I'm not sure but you can try following:
>
> Custom Condition:
> return undef unless (($self->TransactionObj->Field eq '2') and
> ($self->TransactionObj->NewValue eq '20 Antrag eingetroffen'));
>
> Best,
> Eduard
>
> ----- Original Message -----
> From: "Stefan Fischer" <stefan at van-boxmer.de>
> To: <rt-devel at lists.bestpractical.com>
> Sent: Thursday, January 27, 2005 9:04 PM
> Subject: [Rt-devel] RT 3.2.2 custom scrip with user defined condition fails
>
>
>
>>Hello,
>>
>>i have asked this problem a view days bevore in the rt-users section,
>>but nobody could help me.
>>
>>I have a custom condition
>>
>>if (($self->TransactionObj->Type eq "CustomField") and
>> ($self->TransactionObj->Field eq 2) and
>> ($self->TransactionObj->NewValue eq "20 Antrag eingetroffen")) {
>> return(1);
>>} else {
>> return(undef);
>>}
>
>
--
Mit freundlichen Grüßen / Kind Regards
__\/__
. / ^ _ \ .
|\| (o)(o) |/|
_______.OOOo--oo--oOOO._________
| |
| Stefan Fischer |
| IT-Consulting |
| |
| Mobil...: +49 163 8027222 |
| Büro....: +49 89 36055848 |
| Fax.....: +49 89 36055846 |
| e-mail..: stefan at van-boxmer.de |
|________________Oooo.___________|
.oooO ( )
( ) ) /
\ ( (_/
\_)
Question authority.
More information about the Rt-devel
mailing list