{"action":"created","issue":{"url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/issues/20","repository_url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd","labels_url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/issues/20/comments","events_url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/issues/20/events","html_url":"https://github.com/FNNDSC/ChRIS_ultron_backEnd/issues/20","id":185961033,"number":20,"title":"Can not register file name that is too long","user":{"login":"NicolasRannou","id":214063,"avatar_url":"https://avatars.githubusercontent.com/u/214063?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasRannou","html_url":"https://github.com/NicolasRannou","followers_url":"https://api.github.com/users/NicolasRannou/followers","following_url":"https://api.github.com/users/NicolasRannou/following{/other_user}","gists_url":"https://api.github.com/users/NicolasRannou/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasRannou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasRannou/subscriptions","organizations_url":"https://api.github.com/users/NicolasRannou/orgs","repos_url":"https://api.github.com/users/NicolasRannou/repos","events_url":"https://api.github.com/users/NicolasRannou/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasRannou/received_events","type":"User","site_admin":false},"labels":[{"id":398984624,"url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/labels/open","name":"open","color":"FF5722","default":false},{"id":397887802,"url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/labels/p0%20-%20critical","name":"p0 - critical","color":"E91E63","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-28T16:05:50Z","updated_at":"2016-10-28T16:16:22Z","closed_at":null,"body":"When a filename (path + name) is too long, a file can not be registered.\r\nhttps://github.com/FNNDSC/ChRIS_ultron_backEnd/blob/master/chris_backend/plugins/models.py#L116\r\n\r\nFor instance:\r\n```\r\ndirpath = `home/ubuntu/users/chris/feed_121/pacsquery_137/pacsretrieve_138/data/2175-Anonimo/CODO.LATERAL-20150820-1.2.392.200036.9125.2.1884891176246156.64786914937.231631/CODO.LATERAL-20150820-1.2.392.200036.9125.3.1884891176246156.64786914937.231635/` (edited)\r\nand \r\nname = `series.info`\r\n```\r\n\r\nerror:\r\n```\r\n(1406, \"Data too long for column 'fname' at row 1\")\r\n```"},"comment":{"url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/issues/comments/256963225","html_url":"https://github.com/FNNDSC/ChRIS_ultron_backEnd/issues/20#issuecomment-256963225","issue_url":"https://api.github.com/repos/FNNDSC/ChRIS_ultron_backEnd/issues/20","id":256963225,"user":{"login":"NicolasRannou","id":214063,"avatar_url":"https://avatars.githubusercontent.com/u/214063?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasRannou","html_url":"https://github.com/NicolasRannou","followers_url":"https://api.github.com/users/NicolasRannou/followers","following_url":"https://api.github.com/users/NicolasRannou/following{/other_user}","gists_url":"https://api.github.com/users/NicolasRannou/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasRannou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasRannou/subscriptions","organizations_url":"https://api.github.com/users/NicolasRannou/orgs","repos_url":"https://api.github.com/users/NicolasRannou/repos","events_url":"https://api.github.com/users/NicolasRannou/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasRannou/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T16:16:22Z","updated_at":"2016-10-28T16:16:22Z","body":"Idea 1:\r\nIncrease name Char field size to 2048 in https://github.com/FNNDSC/ChRIS_ultron_backEnd/blob/master/chris_backend/plugins/models.py#L22\r\n\r\nIssue: max size is 255\r\n```\r\n(chris-ultron) ubuntu@chris-ultron:~/chris-ultron-backend/chris_backend$ python manage.py makemigrations\r\nSystemCheckError: System check identified some issues:\r\n\r\nERRORS:\r\nplugins.Plugin.name: (mysql.E001) MySQL does not allow unique CharFields to have a max_length > 255.\r\n```"}}
{"actor":{"display_login":"NicolasRannou"}}