[rt-users] Phantom Reminder

Jesse Vincent jesse at bestpractical.com
Wed Jul 4 09:52:33 EDT 2007


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.

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
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070704/74b3edda/attachment.sig>


More information about the rt-users mailing list