[rt-users] Phantom Reminder

Kevin Falcone falcone at bestpractical.com
Thu Jul 5 07:04:33 EDT 2007


On Jul 4, 2007, at 9:52 AM, Jesse Vincent wrote:

>
> On Jun 22, 2007, at 3:44 PM, Dando - Email.it wrote:
>
>> John Arends wrote:
>>> I found the problem in the database, and the ticket had been  
>>> moved to
>>> another queue. Changing the queue for the reminder to match  
>>> solved the
>>> problem.
>>>
>>> This is a bug then. If a ticket is moved to another queue, its  
>>> reminders
>>> should be moved also.
>>>
>>> Meanwhile after spending some time in the database I have a  
>>> better idea
>>> of how RT stores things internally.
>>>
>>
>> Hello All.
>> I too have experienced this problem (RT 3.6.3) - Reminders that  
>> show in the
>> homepage but not in their ticket when the queue is changed.
>> I poked around in the code and I found in lib/Reminders.pm, line 43:
>>
>> my $query = 'Queue = "'. $self->TicketObj->QueueObj->Name .'" AND  
>> Type =
>> "reminder"';
>>
>
>
>
>> and the query explicitally limits the reminders to the ones that  
>> are in the same
>> queue of the ticket. The homepage shows all because the query is  
>> different.
>>
>> Since queue changes happen quite often at my site and we have a  
>> number of
>> 'phantom' reminders.
>>
>> The most obvious solution seems to simply remove the limiting in  
>> the query.
>> Has anyone had a similar problem / are there any patches for  
>> fixing it?
>>
>
> This seems to be a sane change to me. Ruz, Kevin? It might be  
> slightly better to move the reminders as you move the ticket from  
> queue to queue. That would keep the access control in lockstep.

I agree, it would be better to pull the reminders into the new queue.

-kevin


> Best,
> Jesse
>
>> Thanks
>> Daniele
>>
>> _______________________________________________
>> 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
>>
>




More information about the rt-users mailing list