{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/453","repository_url":"https://api.github.com/repos/kubernetes/dashboard","labels_url":"https://api.github.com/repos/kubernetes/dashboard/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/dashboard/issues/453/comments","events_url":"https://api.github.com/repos/kubernetes/dashboard/issues/453/events","html_url":"https://github.com/kubernetes/dashboard/issues/453","id":136630677,"number":453,"title":"Insufficient validation for non-ascii chars?","user":{"login":"olekzabl","id":17475944,"avatar_url":"https://avatars.githubusercontent.com/u/17475944?v=3","gravatar_id":"","url":"https://api.github.com/users/olekzabl","html_url":"https://github.com/olekzabl","followers_url":"https://api.github.com/users/olekzabl/followers","following_url":"https://api.github.com/users/olekzabl/following{/other_user}","gists_url":"https://api.github.com/users/olekzabl/gists{/gist_id}","starred_url":"https://api.github.com/users/olekzabl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olekzabl/subscriptions","organizations_url":"https://api.github.com/users/olekzabl/orgs","repos_url":"https://api.github.com/users/olekzabl/repos","events_url":"https://api.github.com/users/olekzabl/events{/privacy}","received_events_url":"https://api.github.com/users/olekzabl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-26T08:40:24Z","updated_at":"2016-02-29T09:29:28Z","closed_at":null,"body":"#### Issue details\r\nPressing \"Deploy\" has no effect (as if the form hanged) if many fields contain non-ascii characters. Sometimes an error message is shown, but it's hard to notice (see below).\r\n\r\n##### Steps to reproduce\r\n1. Deploy a Containerized App\r\n2. Select \"Specify app details below\"\r\n3. Description, label key, label value, env-var value: all set to \"ąćęłńóśźż 北京市\"\r\n  - (if it's not legible, that's nine extended Latin chars followed by a space and three Chinese chars)\r\n4. App name:\r\n  - Case 1: either the same string as above\r\n  - Case 2: \"olekz14\"\r\n5. Env-var name: set to \"strange_string\"\r\n  - (I tried the non-ascii string, but here validation worked as desired :) )\r\n6. Click \"Deploy\"\r\n\r\n##### Observed result\r\n- Case 1: \r\n  - Apparently: nothing happens at all.\r\n  - Actually: A red error message appears beneath the project name, but I don't see it because it's well above the top edge of my 30' screen, and the page is not scrolled up.\r\n- Case 2: Nothing really happens at all.\r\n\r\n##### Expected result\r\n- Always display an error message next to the appropriate field,\r\n\r\nand, moreover,\r\n- Either scroll the page up, or display an additional error message somewhere at the bottom of the page."},"comment":{"url":"https://api.github.com/repos/kubernetes/dashboard/issues/comments/190121684","html_url":"https://github.com/kubernetes/dashboard/issues/453#issuecomment-190121684","issue_url":"https://api.github.com/repos/kubernetes/dashboard/issues/453","id":190121684,"user":{"login":"digitalfishpond","id":13361549,"avatar_url":"https://avatars.githubusercontent.com/u/13361549?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalfishpond","html_url":"https://github.com/digitalfishpond","followers_url":"https://api.github.com/users/digitalfishpond/followers","following_url":"https://api.github.com/users/digitalfishpond/following{/other_user}","gists_url":"https://api.github.com/users/digitalfishpond/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalfishpond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalfishpond/subscriptions","organizations_url":"https://api.github.com/users/digitalfishpond/orgs","repos_url":"https://api.github.com/users/digitalfishpond/repos","events_url":"https://api.github.com/users/digitalfishpond/events{/privacy}","received_events_url":"https://api.github.com/users/digitalfishpond/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T09:29:28Z","updated_at":"2016-02-29T09:29:28Z","body":"The error message actually appears on focus-out from any field, long before the Deploy button is reached.\r\nAdditional feature of auto-scroll-up could be introduced if any errors remain when DEPLOY button is pressed. @bryk @cheld, what do you think?"}}