[rt-users] Owner not showing in search results?
ahall at autodist.com
Mon Nov 28 11:32:36 EST 2016
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 <ktm at rice.edu> 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.
> 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.
More information about the rt-users