{"action":"created","issue":{"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/766","repository_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web","labels_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/766/comments","events_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/766/events","html_url":"https://github.com/Code4SocialGood/c4sg-web/issues/766","id":242869747,"number":766,"title":"Create Project || Project creation unsuccessful when 100+ chars are entered","user":{"login":"p-tal","id":29553195,"avatar_url":"https://avatars5.githubusercontent.com/u/29553195?v=3","gravatar_id":"","url":"https://api.github.com/users/p-tal","html_url":"https://github.com/p-tal","followers_url":"https://api.github.com/users/p-tal/followers","following_url":"https://api.github.com/users/p-tal/following{/other_user}","gists_url":"https://api.github.com/users/p-tal/gists{/gist_id}","starred_url":"https://api.github.com/users/p-tal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-tal/subscriptions","organizations_url":"https://api.github.com/users/p-tal/orgs","repos_url":"https://api.github.com/users/p-tal/repos","events_url":"https://api.github.com/users/p-tal/events{/privacy}","received_events_url":"https://api.github.com/users/p-tal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-14T01:00:01Z","updated_at":"2017-07-14T01:54:32Z","closed_at":null,"body":"Steps to reproduce:\r\n1. Login with nonprofit user: testnonprofituser2@gmail.com / Opensource5social!\r\n2.Goto My settings-> Create Project\r\n3.Enter details with project name in long string (more than 120 chars).\r\n4.Enter project desc.\r\n5.Save project.\r\nActual Result: The project name and description is blank and creation is unsuccessful. \r\nPlease refer to below mentioned project:\r\nhttp://dev.code4socialgood.org/project/view/252\r\n![long stringproject](https://user-images.githubusercontent.com/29553195/28193866-25bf2460-680e-11e7-94e8-98dccc8fcddd.jpg)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/comments/315248025","html_url":"https://github.com/Code4SocialGood/c4sg-web/issues/766#issuecomment-315248025","issue_url":"https://api.github.com/repos/Code4SocialGood/c4sg-web/issues/766","id":315248025,"user":{"login":"Code4SocialGood","id":24813620,"avatar_url":"https://avatars4.githubusercontent.com/u/24813620?v=4","gravatar_id":"","url":"https://api.github.com/users/Code4SocialGood","html_url":"https://github.com/Code4SocialGood","followers_url":"https://api.github.com/users/Code4SocialGood/followers","following_url":"https://api.github.com/users/Code4SocialGood/following{/other_user}","gists_url":"https://api.github.com/users/Code4SocialGood/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SocialGood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SocialGood/subscriptions","organizations_url":"https://api.github.com/users/Code4SocialGood/orgs","repos_url":"https://api.github.com/users/Code4SocialGood/repos","events_url":"https://api.github.com/users/Code4SocialGood/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SocialGood/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T01:54:32Z","updated_at":"2017-07-14T01:54:32Z","body":"**Background**\r\n1. The Project Name at backend database columns is defined as char(100). If frontend sends in a value longer than 100 char, backend will throw database exception: Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'name' at row 1.\r\n2. On backend, we created an issue to let Restful API to indicate the max length the field could accept.\r\n3. On frontend, please validate the field length. \r\n\r\n**What to fix on frontend**\r\n1. Validate the max length of every input field.\r\n- user-edit.component.html\r\nUsername: 100\r\nFirst Name: 100\r\nLast Name: 100\r\nState: 100\r\nTitle: 100\r\nEnter your skill: 100\r\nLinkedIn URL: 100\r\nGithub URL: 100\r\nMy Website: 100\r\nSlack Username: 25\r\nPhone: 16\r\n\r\n- project-edit.component.html\r\nProject Name: 100\r\nCity: 100\r\nState: 100\r\nEnter your skill: 100\r\n\r\n- organization-edit.component.html\r\nOrganization Name: 100\r\nWebsite: 100\r\nEIN: 20\r\nAddress 1: 100\r\nAddress 2: 100\r\nCity: 100\r\nState: 100\r\nZip Code: 16\r\n\r\n2. Present the validation error like below:\r\nhttp://materializecss.com/forms.html\r\n![image](https://user-images.githubusercontent.com/24813620/28194519-73bde556-680a-11e7-81e6-a736ced0b116.png)\r\nhttp://demo.geekslabs.com/materialize-v1.0/form-validation.html\r\n\r\n3. Let's leave the text area validation (description text area that is max of 1000 char) untouched. In this issue we only change the input field validation.\r\n"}}
{"actor":{"display_login":"Code4SocialGood"}}