Ok. That didn't make it either.
<br>
I get the same logging:<br>
<i><small>Oct 27 14:45:23 support RT: Scrip Auto-Take started. Owner: 10 to be assigned to 22 ((eval 3065):11) <br>
Oct 27 14:45:23 support RT: Auto assign ticket #124 to user #22 ((eval 3065):33) <br>
Oct 27 14:45:24 support RT: <rt-3.6.5-30127-1225115124-1260.124-2-0@VoiceObjects> #124/2807 - Scrip 2 Notify Owner on Owner Change (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:252) <br>
Oct 27 14:45:24 support RT: <rt-3.6.5-30127-1225115124-1260.124-2-0@VoiceObjects> sent To: me@.com (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:283) <br>
Oct 27 14:45:52 support RT: Scrip Auto-Take started. Owner: 10 to be assigned to 22 ((eval 497):11) <br>
Oct 27 14:45:52 support RT: Auto assign ticket #124 to user #22 ((eval 497):33) <br>
Oct 27 14:45:53 support RT: <rt-3.6.5-31501-1225115153-1469.124-2-0@VoiceObjects> #124/2810 - Scrip 2 Notify Owner on Owner Change (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:252) <br>
Oct 27 14:45:53 support RT: <rt-3.6.5-31501-1225115153-1469.124-2-0@VoiceObjects> sent To: me@.com (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:283) </small> </i><br><br>
<br>
When I now look with 2 users into RT, I can see the following behaviour: <br>
1) My user1 opens a ticket and chooses "Reply"<br>
user2 sees the ticket owned by nobody<br>
2) user1 gets a mail "Ticket assigned to you"<br>
even after a refresh user2 sees the ticket owned by nobody<br>
3) user1 sends the response<br>
after a refresh user2 sees the ticket owned by user1<br>
<br>
The message for the owner change tells me that the owner change was successful.
<br>
Is there a way to find out why this happens?
Or may it be connected with the owner dropdown in a response? When I open the response, the owner is shown as nobody. As the script then sets the owner to my user, could it be that the owner is set to nobody again on submit of my response - and then to me again?<br>
When I set the owner to myself in the dropdown in the response page, I get three notifications. That's also weird, as I would expect that in this case the owner is definitly set - and the third notification should not be sent.
<br>
<br>
Or does RT load all objects in a cache on reply (and takes every information from this cache as long as the action is not completed)? In this case I should be able to set a temporary variable to track if there has been a second call to the scrip?
<br>
Thanks for any help!
<br>
Kai
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Getting-the-owner-of-a-ticket-fails--tp20094432p20188856.html">Re: Getting the owner of a ticket fails?</a><br>
Sent from the <a href="http://www.nabble.com/Request-Tracker---User-f572.html">Request Tracker - User mailing list archive</a> at Nabble.com.<br>