<div dir="ltr">Done. <a href="https://issues.jboss.org/browse/KEYCLOAK-658">https://issues.jboss.org/browse/KEYCLOAK-658</a></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 1, 2014 at 2:19 PM, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">log a jira.<br>
<br>
On 9/1/2014 12:40 PM, Rodrigo Sasaki wrote:<br>
&gt; I believe I have found the problem. If I don&#39;t send a *max* query param,<br>
<div class="">&gt; it is set as -1, and by having that value it stops the execution of the<br>
</div>&gt; /query/ method inside /UserFederationManager/ class so it doesn&#39;t return<br>
&gt; any value.<br>
&gt;<br>
&gt; If I send a value on *max* I get a return, but it comes duplicated, I<br>
<div class="">&gt; receive a JSON that has the same user twice. I was looking inside the<br>
</div>&gt; method /getUsers/ inside the /UsersResource/ class and it executes the<br>
<div class="">&gt; same for loop twice, adding the same userModel to the results list.<br>
&gt;<br>
&gt; should the inner for loop exist?<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Sep 1, 2014 at 11:10 AM, Rodrigo Sasaki<br>
</div><div class="">&gt; &lt;<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a> &lt;mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hello,<br>
&gt;<br>
&gt;     I have a method in my project that finds users by e-mail using the<br>
&gt;     REST API on<br>
&gt;<br>
</div>&gt;     */realms/{realm}/users?email=...*<br>
&gt;     *<br>
<div class="">&gt;     *<br>
&gt;     It used to work fine, but I upgrated to RC1 and it stopped working,<br>
&gt;     I tried debugging it but it doesn&#39;t seem to stop on my breakpoint<br>
</div>&gt;     inside the /JpaUserProvider/ class.<br>
<div class="">&gt;<br>
&gt;     It simply returns nothing, with valid calls and a valid e-mail that<br>
&gt;     I know exists.<br>
&gt;<br>
&gt;     Is this a known bug?<br>
&gt;<br>
&gt;     --<br>
&gt;     Rodrigo Sasaki<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Rodrigo Sasaki<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div>