{"action":"created","issue":{"url":"https://api.github.com/repos/fguillot/kanboard/issues/541","labels_url":"https://api.github.com/repos/fguillot/kanboard/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/fguillot/kanboard/issues/541/comments","events_url":"https://api.github.com/repos/fguillot/kanboard/issues/541/events","html_url":"https://github.com/fguillot/kanboard/issues/541","id":55253645,"number":541,"title":"[BUG] Duplicating projects may make project name exceed column length","user":{"login":"mluepkes","id":4066460,"avatar_url":"https://avatars.githubusercontent.com/u/4066460?v=3","gravatar_id":"","url":"https://api.github.com/users/mluepkes","html_url":"https://github.com/mluepkes","followers_url":"https://api.github.com/users/mluepkes/followers","following_url":"https://api.github.com/users/mluepkes/following{/other_user}","gists_url":"https://api.github.com/users/mluepkes/gists{/gist_id}","starred_url":"https://api.github.com/users/mluepkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluepkes/subscriptions","organizations_url":"https://api.github.com/users/mluepkes/orgs","repos_url":"https://api.github.com/users/mluepkes/repos","events_url":"https://api.github.com/users/mluepkes/events{/privacy}","received_events_url":"https://api.github.com/users/mluepkes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fguillot/kanboard/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-23T07:41:13Z","updated_at":"2015-01-26T07:05:13Z","closed_at":"2015-01-26T07:05:13Z","body":"Column name of table project is varchar(50). Entering a project with a name which is close to the 50 char maximum and then trying to duplicate said project will result in a:\r\n\r\n`[2015-01-23 08:37:14] [debug] SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'name' at row 1`\r\n\r\nand a white screen to boot.\r\n\r\nName length should be validated after ` (clone)` is appended in order to notify the user of the exeeded char limit. "},"comment":{"url":"https://api.github.com/repos/fguillot/kanboard/issues/comments/71421177","html_url":"https://github.com/fguillot/kanboard/issues/541#issuecomment-71421177","issue_url":"https://api.github.com/repos/fguillot/kanboard/issues/541","id":71421177,"user":{"login":"mluepkes","id":4066460,"avatar_url":"https://avatars.githubusercontent.com/u/4066460?v=3","gravatar_id":"","url":"https://api.github.com/users/mluepkes","html_url":"https://github.com/mluepkes","followers_url":"https://api.github.com/users/mluepkes/followers","following_url":"https://api.github.com/users/mluepkes/following{/other_user}","gists_url":"https://api.github.com/users/mluepkes/gists{/gist_id}","starred_url":"https://api.github.com/users/mluepkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mluepkes/subscriptions","organizations_url":"https://api.github.com/users/mluepkes/orgs","repos_url":"https://api.github.com/users/mluepkes/repos","events_url":"https://api.github.com/users/mluepkes/events{/privacy}","received_events_url":"https://api.github.com/users/mluepkes/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T07:05:13Z","updated_at":"2015-01-26T07:05:13Z","body":"Thanks for fixing"}}