<div dir="ltr">Gladly! <a href="https://issues.jboss.org/browse/KEYCLOAK-3494">https://issues.jboss.org/browse/KEYCLOAK-3494</a><div><br></div><div>How might you prioritize this one?</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 29, 2016 at 4:42 AM Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt; 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&#39;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.freemarker.model.AccountBean] (default task-14) There are more values for attribute &#39;region&#39; of user &#39;admin&#39; . 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">&lt;<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@gmail.com</a>&gt;</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&#39;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&#39;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&#39;s account.ftl file:</div><div><br></div><div><div>&lt;div class=&quot;form-group&quot;&gt;</div><div>    &lt;div class=&quot;col-sm-2 col-md-2&quot;&gt;</div><div>        &lt;label for=&quot;user.attributes.example&quot; class=&quot;control-label&quot;&gt;Example:&lt;/label&gt;</div><div>    &lt;/div&gt;</div><div>    &lt;div class=&quot;col-sm-10 col-md-10&quot;&gt;</div><div>        &lt;input type=&quot;text&quot; class=&quot;form-control&quot; id=&quot;<span style="line-height:1.5">user.attributes.</span><span style="line-height:1.5">example&quot; name=&quot;user.attributes.example&quot; value=&quot;${(account.attributes.example!&#39;&#39;)?html}&quot;/&gt;</span></div><div>    &lt;/div&gt;</div><div>&lt;/div&gt;</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">_______________________________________________<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/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div>