{"action":"opened","issue":{"url":"https://api.github.com/repos/neo4j-examples/graphgist_portal/issues/22","labels_url":"https://api.github.com/repos/neo4j-examples/graphgist_portal/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/neo4j-examples/graphgist_portal/issues/22/comments","events_url":"https://api.github.com/repos/neo4j-examples/graphgist_portal/issues/22/events","html_url":"https://github.com/neo4j-examples/graphgist_portal/issues/22","id":119532279,"number":22,"title":"Submit Graphgist Validation","user":{"login":"whatSocks","id":2731744,"avatar_url":"https://avatars.githubusercontent.com/u/2731744?v=3","gravatar_id":"","url":"https://api.github.com/users/whatSocks","html_url":"https://github.com/whatSocks","followers_url":"https://api.github.com/users/whatSocks/followers","following_url":"https://api.github.com/users/whatSocks/following{/other_user}","gists_url":"https://api.github.com/users/whatSocks/gists{/gist_id}","starred_url":"https://api.github.com/users/whatSocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatSocks/subscriptions","organizations_url":"https://api.github.com/users/whatSocks/orgs","repos_url":"https://api.github.com/users/whatSocks/repos","events_url":"https://api.github.com/users/whatSocks/events{/privacy}","received_events_url":"https://api.github.com/users/whatSocks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T16:48:42Z","updated_at":"2015-11-30T16:48:42Z","closed_at":null,"body":"There should be user-friendly validation on the \"Submit a GraphGist\" page. User should receive a message like \"Please enter a URL\" or something like that instead of 500 error. \r\n\r\nIn the cases below, I entered some string like \"i'm a url\" or \"www.google.com\" or no string into the URL field and something or nothing into the title. \r\n\r\nI was not logged in. \r\n\r\nBad URL + Preview:\r\n![screenshot 2015-11-30 11 43 25](https://cloud.githubusercontent.com/assets/2731744/11477838/d4bc85e0-9757-11e5-8633-3565630937fb.png)\r\n\r\nTitle and no URL  + Preview:\r\n\r\n![screenshot 2015-11-30 11 43 32](https://cloud.githubusercontent.com/assets/2731744/11477852/df5e0ffa-9757-11e5-976d-f221d579aa94.png)\r\n\r\nTitle and no URL  + Create:\r\n500 error\r\n\r\nNo Title and no URL  + Preview/Create button pressed:\r\n500 error"}}