[rt-users] Custom condition problem

Ruslan Zakirov ruz at bestpractical.com
Thu Sep 16 13:32:49 EDT 2010


Hi.

MuteResolve uses transaction custom fields which are kinda new in RT. Either
it's a bug in 3.8.4 or permissions related bug. You should try it on 3.8.8.

16.09.2010 11:36 пользователь "Sergey Kozhedub" <sevk at maks.net> написал:

Hi Ruslan,

This error occurs in ProcessObjectCustomFieldUpdates subroutine in Web.pm

The code is:
       foreach my $id ( keys %{$custom_fields_to_mod{$class}} ) {

           my $Object = $args{'Object'};

           $Object = $class->new( $session{'CurrentUser'} )

               unless $Object && ref $Object eq $class;




           $Object->Load( $id ) unless ($Object->id || 0) == $id;

           unless ( $Object->id ) {

               $RT::Logger->warning("Couldn't load object $class #$id");
               next;

           }




...

But I'm not familiar with RT internals to check it...



Regards,
Sergey Kozhedub






On 09/15/2010 08:22 PM, Ruslan Zakirov wrote:

> >
> > Hi,
> >
> > As far as I can see error is not related to the scrip. Error happens in
> > Web.pm.
> >
>
>> >> 15.09.2010 2:50 пользователь "Sergey Kozhedub" <sevk at maks.net
>> <mailto:sevk at maks.net>> написал:
>>
>>
>> >>
>> >> Hello all,
>> >>
>> >> I'm trying to implement MuteResolve
>> >> (http://wiki.bestpractical.com/view/M...
>> <http://rt.iptp.net/bin/../lib/RT/Interface/Web.pm:1127>)
>>
>>
>> >>
>> >> What I'm doing wrong?
>> >>
>> >> Condition: User Defined
>> >> Action: Notify Requestors
>> >> Template:...
>>
>
>

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the m...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100916/64a59d8a/attachment.htm>


More information about the rt-users mailing list