Re: Owner not showing in search results?

Alex Hall <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <[email protected]>
Thanks, I didn't know that would happen. I did that to suppress the email notification; we want users notified if their tickets change owners, but only if that change is NOT from "nobody" to themselves.

I just updated the script to record the transaction. It worked, because I got the email I wanted suppressed, and the owner still changed. Oddly, "nobody" is still the owner when I search for my ticket, though. Should I flush a cache or something? Mason cache wouldn't have anything to do with this, would it?
> On Nov 28, 2016, at 11:18, Kenneth Marshall <[email protected]> wrote:
> 
> Hi Alex,
> 
> You do not record your transaction in your scrip. That means that the
> system does not know that a change has been made and to invalidate the
> caches. You will either need to record it or live with the result.
> 
> Regards,
> Ken
> 
> On Mon, Nov 28, 2016 at 11:12:00AM -0500, Alex Hall wrote:
>>>> my ($status, $msg) = $self->TicketObj->_Set(Field => 'Owner', Value =>
>>>> $Actor, RecordTransaction => 0);
> 
> This should be 1, not 0 to record the transaction and that should flush
> the cached info.
> 

---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Los Angeles - January 9-11 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.