<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[create user miss validation check]]></title><description><![CDATA[<p dir="auto">If I try to create user with <code>_</code> in username, it silently fails, dropping the following error in the console:</p>
<pre><code>(anonymous) @ angular.js:12011
n @ angular.js:11776
(anonymous) @ angular.js:11571
(anonymous) @ angular.js:16383
$eval @ angular.js:17682
$digest @ angular.js:17495
$apply @ angular.js:17790
(anonymous) @ angular.js:25890
dispatch @ jquery.min.js?32d97f9ffba9ba7a989d8ef52be913efb0d20946:3
r.handle @ jquery.min.js?32d97f9ffba9ba7a989d8ef52be913efb0d20946:3
angular.js:13920 TypeError: Cannot read properties of undefined (reading '$setPristine')
    at users.js:355:1
    at client.js:1855:1
    at client.js:282:1
    at angular.js:11486:13
    at angular.js:16383:28
    at m.$eval (angular.js:17682:16)
    at m.$digest (angular.js:17495:15)
    at m.$apply (angular.js:17790:13)
    at l (angular.js:11831:36)
    at J (angular.js:12033:7)
</code></pre>
<p dir="auto">After POST to api/v1/users (error code 400).</p>
<p dir="auto">Since no where in the form it says that username can't have underline, it's non-trivial to figure out what went wrong.</p>
<p dir="auto">I guess it would be nice to have a text description in the form or, better, an input verification check, so that I couldn't make this mistake.</p>
]]></description><link>https://forum.cloudron.io/topic/7424/create-user-miss-validation-check</link><generator>RSS for Node</generator><lastBuildDate>Thu, 15 Oct 2026 04:50:05 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7424.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Jul 2022 12:39:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to create user miss validation check on Thu, 28 Jul 2022 12:04:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thanks! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=cb8b82e1523" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/51362</link><guid isPermaLink="true">https://forum.cloudron.io/post/51362</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Thu, 28 Jul 2022 12:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to create user miss validation check on Wed, 27 Jul 2022 16:03:05 GMT]]></title><description><![CDATA[<p dir="auto">Great catch. I have fixed up the UI now for the next release to actually show the correct error message next to the username field.</p>
]]></description><link>https://forum.cloudron.io/post/51317</link><guid isPermaLink="true">https://forum.cloudron.io/post/51317</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 27 Jul 2022 16:03:05 GMT</pubDate></item></channel></rss>