[rt-users] unexpected behaviour with RT->System->SubjectTag

Woody - Wild Thing Safaris woody at wildthingsafaris.com
Thu Sep 15 12:50:49 EDT 2016


Not a question, but an observation.

I have noticed that in Email.pm the RT->System->SubjectTag returns all 
subject tags of all queues, even if they are disabled. I would have 
expected it to only show enabled queues by default.

The line $queues->Limit( FIELD => 'SubjectTag', OPERATOR => 'IS NOT', 
VALUE => 'NULL' );
does not seem to prevent an empty tag being returned. I had to put

next unless $tag;

in Email.pm in the foreach loop to prevent this




Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz

More information about the rt-users mailing list