<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"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></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>
> I believe I have found the problem. If I don't send a *max* query param,<br>
<div class="">> it is set as -1, and by having that value it stops the execution of the<br>
</div>> /query/ method inside /UserFederationManager/ class so it doesn't return<br>
> any value.<br>
><br>
> If I send a value on *max* I get a return, but it comes duplicated, I<br>
<div class="">> receive a JSON that has the same user twice. I was looking inside the<br>
</div>> method /getUsers/ inside the /UsersResource/ class and it executes the<br>
<div class="">> same for loop twice, adding the same userModel to the results list.<br>
><br>
> should the inner for loop exist?<br>
><br>
><br>
> On Mon, Sep 1, 2014 at 11:10 AM, Rodrigo Sasaki<br>
</div><div class="">> <<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a> <mailto:<a href="mailto:rodrigopsasaki@gmail.com">rodrigopsasaki@gmail.com</a>>> wrote:<br>
><br>
> Hello,<br>
><br>
> I have a method in my project that finds users by e-mail using the<br>
> REST API on<br>
><br>
</div>> */realms/{realm}/users?email=...*<br>
> *<br>
<div class="">> *<br>
> It used to work fine, but I upgrated to RC1 and it stopped working,<br>
> I tried debugging it but it doesn't seem to stop on my breakpoint<br>
</div>> inside the /JpaUserProvider/ class.<br>
<div class="">><br>
> It simply returns nothing, with valid calls and a valid e-mail that<br>
> I know exists.<br>
><br>
> Is this a known bug?<br>
><br>
> --<br>
> Rodrigo Sasaki<br>
><br>
><br>
><br>
><br>
> --<br>
> Rodrigo Sasaki<br>
><br>
><br>
</div>> _______________________________________________<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>
><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>