<div dir="ltr">Fixed<div><br></div><div>It was as I suspected. (I think) The scrips were running and changing the owner of the ticket, and then RT was applying everything to the ticket update, including the "Ticket and Transaction" section afterwards. Since this section holds a field marked "Owner" and is defaultly populated by the old owner, RT was reading that value and using it to re-set the owner after the scrip had ran.</div>
<div><br></div><div>I'm not a programmer, so my fix is quick and dirty. But this is what I did. I removed the following code from Update.html</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
{ name => 'Owner',</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> comp => '/Elements/SelectOwner',</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
args => {</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> Name => "Owner",</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
TicketObj => $TicketObj,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> QueueObj => $TicketObj->QueueObj,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
DefaultLabel => loc("[_1] (Unchanged)", $m->scomp('/Elements/ShowUser', User => $TicketObj->OwnerObj)),</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Default => $ARGS{'Owner'}</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"> }</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
},</div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">This removed the owner field from the comment page. My users never change the owner here anyways.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I know changing this file in this way means in the future upgrades will probably overwrite my changes, but for now everybody is happy and I just have to be aware that this fix is needed if it's ever overwritten by an upgrade.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 2:02 PM, Asif Iqbal <span dir="ltr"><<a href="mailto:vadud3@gmail.com" target="_blank">vadud3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="im"><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 12:20 PM, Chris Hall <span dir="ltr"><<a href="mailto:hiro24@gmail.com" target="_blank">hiro24@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Nov 6 09:56:39 rt RT: [30613] <rt-4.2.0-30613-1383749799-436.57417-2-0@XXX.com> #57417/999087 - Scrip 2 On Owner Change Notify Owner</div>
<div>Nov 6 09:56:39 rt RT: [30613] <rt-4.2.0-30613-1383749799-436.57417-2-0@XXX.com> No recipients found. Not sending.</div><div>Nov 6 09:56:39 rt RT: [30613] <rt-4.2.0-30613-1383749799-1566.57417-2-0@XXX.com> #57417/999089 - Scrip 2 On Owner Change Notify Owner</div>
<div>Nov 6 09:56:39 rt RT: [30613] <rt-4.2.0-30613-1383749799-1566.57417-2-0@XXX.com> sent To: XXX@XXX.com</div></blockquote></div><br><br></div>This log does not really show the event when RT forcibly changed the owner. You might need to provide a fresh complete log for a new event.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Also, do you might have any scrip in "Scrips which apply to all queues" and "Current Scrips" section? A snapshot of /Admin/Queues/Scrips.html?id=XX</div>
<div class="gmail_extra">where XX is the ``id'' of the queue might show that. </div><div class="gmail_extra"><br>Please include all when you reply.<div class="im"><br clear="all"><div><br></div>-- <br>Asif Iqbal<br>
PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>
A: Because it messes up the order in which people normally read text.<br>Q: Why is top-posting such a bad thing?<br><br>
</div></div></div>
</blockquote></div><br></div>