<div dir="ltr">Most likely it'll be fixed in 2.2.0.CR1, 2.3.0.CR1 at the latest.</div><div class="gmail_extra"><br><div class="gmail_quote">On 29 August 2016 at 17:16, Chris Hairfield <span dir="ltr"><<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@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">Gladly! <a href="https://issues.jboss.org/browse/KEYCLOAK-3494" target="_blank">https://issues.jboss.<wbr>org/browse/KEYCLOAK-3494</a><div><br></div><div>How might you prioritize this one?</div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 29, 2016 at 4:42 AM Stian Thorgersen <<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Just tried this out with the address theme and there's indeed a bug. I can also see the following in the log:<div><br></div><div>12:41:26,385 WARN [org.keycloak.forms.account.<wbr>freemarker.model.AccountBean] (default task-14) There are more values for attribute 'region' of user 'admin' . Will display just first value<br></div><div><br></div><div>So something is definitively broken. Can you create a JIRA please?</div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On 26 August 2016 at 20:03, Chris Hairfield <span dir="ltr"><<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Keycloak Users,<div><br></div><div>We recently upgraded from 1.9.8 to 2.1.0 and love it (fixes a good number of issues we've been having), but it seems to have broken an important one: our themes!</div><div><br></div><div>For all HTML input elements we've added (those backed by user properties), when we modify their value and save/POST, Keycloak returns an HTML document populated with the old values rather than the new. A refresh of the page is required for the new value to be returned/displayed, even though the first save is sufficient to save the new value on the user.</div><div><br></div><div>One may reproduce this easily in 2.1.0 by adding the following code to the base theme's account.ftl file:</div><div><br></div><div><div><div class="form-group"></div><div> <div class="col-sm-2 col-md-2"></div><div> <label for="user.attributes.example" class="control-label">Example:<wbr></label></div><div> </div></div><div> <div class="col-sm-10 col-md-10"></div><div> <input type="text" class="form-control" id="<span style="line-height:1.5">user.attributes.</span><span style="line-height:1.5">example" name="user.attributes.example" value="${(account.attributes.<wbr>example!'')?html}"/></span></div><div> </div></div><div></div></div></div><div><br></div><div>In an Incognito window, impersonate a user, update the Example input, and click save. Your new value is stored as an attribute on the user, but the value of the input is set to whatever it was before. Refresh your browser for the updated value to appear.</div><div><br></div><div>Any thoughts as to why? Do we need to update our theme code somehow?</div><div><br></div><div>Thanks,<br>Chris</div></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">______________________________<wbr>_________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>