[Rt-devel] Question on "Limit" for Transactions for RT3.0.12

Ruediger Riediger ruediger.riediger at sun.com
Fri Mar 18 03:28:04 EST 2005


Hello Jesse,

Jesse Vincent wrote:
>>However, the "Limit" criteria seem not to match up to
>>"Field = 'Status' AND (NewValue = 'resolved' OR NewValue = 'rejected' OR 
>>NewValue = 'deleted'). So what am I doing wrong?
>>
> 
> 
> What does the database say you're searching for?

looks like I found the issue: it did not have anything to do with the 
search case (the code I send works fine). We had a local addition to 
RT::Condition::Generic.pm so that $self->QueueObj was defined. Looks 
like we screwed this up and "$self->QueueObj->InactiveStatusArray" was 
returning an empty array. As we used "$self->QueueObj" only here, we 
never noticed before. Oh, for those without "$self->QueueObj" defined, 
substitute with "$self->TicketObj->QueueObj".

Thanks for the pointer to the database logs ;-)

Best regards,

	Ruediger Riediger

-- 
Dr. Ruediger Riediger                              Sun Microsystems GmbH
NSG - SunCERT                                             Komturstr. 18a
mailto:Ruediger.Riediger at Sun.com                          D-12099 Berlin
------------------------------------------------------------------------
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
------------------------------------------------------------------------
PGP 2048RSA/0x2C5020E9          964C E189 0FF0 8882  2BAB 65E2 6912 1FF2
------------------------------------------------------------------------


More information about the Rt-devel mailing list