<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 2:45 PM, Thomas Bätzler <span dir="ltr"><<a href="mailto:t.baetzler@bringe.com" target="_blank">t.baetzler@bringe.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
Nathan Cutler wrote:<br>
<br>
> > Find `sub Next` in lib/RT/Extension/MergeUsers.pm, put logging or printing<br>
> > debug statements there to check what is going on.<br>
><br>
> OK, I'll try that. I ran some more tests on my testing RT instance.<br>
> Here's what I just found out:<br>
><br>
> When no users are merged, the script produces the same output (same<br>
> users, same number of users) as the SELECT statement. When I then go<br>
> and merge a single user into another user, the number of users<br>
> produced by the script decreases by *two* -- the merged user *plus*<br>
> the alphabetically last user.<br>
<br>
</div>I can reproduce this on our installation (RT 4.0.17). I suspect it's also the cause for the problem I reported earlier last week - while logged in as a "merged" user, my user wouldn't show up as potential owner when modi fying a ticket. It's not a rights problem in my case since this user can "take" any ticket.<br>
</blockquote><div><br></div><div>agree.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I did try to trace the problem in the code, but I got lost in the vast wilderness of DBIx::SearchBuilder subclasses ;-)<br></blockquote><div><br></div><div><br></div><div>I'm planning to look at it later tonight or tomorrow.</div>
<div><br></div><div>Guys, please send version of DBIx::SearchBuilder, just in case it's not the latest.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
MfG,<br>
Thomas Bätzler<br>
--<br>
BRINGE Informationstechnik GmbH<br>
Zur Seeplatte 12<br>
D-76228 Karlsruhe<br>
Germany<br>
<br>
Fon: +49 721 94246-0<br>
Fon: +49 171 5438457<br>
Fax: +49 721 94246-66<br>
Web: <a href="http://www.bringe.de/" target="_blank">http://www.bringe.de/</a><br>
<br>
Geschäftsführer: Dipl.-Ing. (FH) Martin Bringe<br>
Ust.Id: DE812936645, HRB 108943 Mannheim<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.
</div></div>