{"action":"created","issue":{"url":"https://api.github.com/repos/burzum/cakephp-file-storage/issues/157","repository_url":"https://api.github.com/repos/burzum/cakephp-file-storage","labels_url":"https://api.github.com/repos/burzum/cakephp-file-storage/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/burzum/cakephp-file-storage/issues/157/comments","events_url":"https://api.github.com/repos/burzum/cakephp-file-storage/issues/157/events","html_url":"https://github.com/burzum/cakephp-file-storage/issues/157","id":276170816,"node_id":"MDU6SXNzdWUyNzYxNzA4MTY=","number":157,"title":"Extension field too short","user":{"login":"ravage84","id":625761,"node_id":"MDQ6VXNlcjYyNTc2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/625761?v=4","gravatar_id":"","url":"https://api.github.com/users/ravage84","html_url":"https://github.com/ravage84","followers_url":"https://api.github.com/users/ravage84/followers","following_url":"https://api.github.com/users/ravage84/following{/other_user}","gists_url":"https://api.github.com/users/ravage84/gists{/gist_id}","starred_url":"https://api.github.com/users/ravage84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravage84/subscriptions","organizations_url":"https://api.github.com/users/ravage84/orgs","repos_url":"https://api.github.com/users/ravage84/repos","events_url":"https://api.github.com/users/ravage84/events{/privacy}","received_events_url":"https://api.github.com/users/ravage84/received_events","type":"User","site_admin":false},"labels":[{"id":290749894,"node_id":"MDU6TGFiZWwyOTA3NDk4OTQ=","url":"https://api.github.com/repos/burzum/cakephp-file-storage/labels/awaiting%20feebback","name":"awaiting feebback","color":"bfe5bf","default":false},{"id":2260781,"node_id":"MDU6TGFiZWwyMjYwNzgx","url":"https://api.github.com/repos/burzum/cakephp-file-storage/labels/bug","name":"bug","color":"fc2929","default":true},{"id":2260783,"node_id":"MDU6TGFiZWwyMjYwNzgz","url":"https://api.github.com/repos/burzum/cakephp-file-storage/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"burzum","id":162789,"node_id":"MDQ6VXNlcjE2Mjc4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/162789?v=4","gravatar_id":"","url":"https://api.github.com/users/burzum","html_url":"https://github.com/burzum","followers_url":"https://api.github.com/users/burzum/followers","following_url":"https://api.github.com/users/burzum/following{/other_user}","gists_url":"https://api.github.com/users/burzum/gists{/gist_id}","starred_url":"https://api.github.com/users/burzum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burzum/subscriptions","organizations_url":"https://api.github.com/users/burzum/orgs","repos_url":"https://api.github.com/users/burzum/repos","events_url":"https://api.github.com/users/burzum/events{/privacy}","received_events_url":"https://api.github.com/users/burzum/received_events","type":"User","site_admin":false},"assignees":[{"login":"burzum","id":162789,"node_id":"MDQ6VXNlcjE2Mjc4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/162789?v=4","gravatar_id":"","url":"https://api.github.com/users/burzum","html_url":"https://github.com/burzum","followers_url":"https://api.github.com/users/burzum/followers","following_url":"https://api.github.com/users/burzum/following{/other_user}","gists_url":"https://api.github.com/users/burzum/gists{/gist_id}","starred_url":"https://api.github.com/users/burzum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burzum/subscriptions","organizations_url":"https://api.github.com/users/burzum/orgs","repos_url":"https://api.github.com/users/burzum/repos","events_url":"https://api.github.com/users/burzum/events{/privacy}","received_events_url":"https://api.github.com/users/burzum/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2017-11-22T18:46:46Z","updated_at":"2018-08-13T10:59:49Z","closed_at":null,"author_association":"COLLABORATOR","body":"For testing purposes, I tried to store my local ``.editorconfig`` file in the file storage by using the shell:\r\n\r\n``bin\\cake.bat storage store d:\\dev\\xampp\\htdocs\\my_app\\.editorconfig --adapter SomeAdapter``\r\n\r\nIt resulted in an ORM exception:\r\n\r\n````\r\nException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'extension' at row 1 in [D:\\dev\\xampp\\htdocs\\my_app\\vendor\\cakephp\\cakephp\\src\\Database\\Statement\\MysqlStatement.php, line 39]\r\n2017-11-22 18:35:17 Error: [PDOException] SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'extension' at row 1 in D:\\dev\\xampp\\htdocs\\my_appp\\vendor\\cakephp\\cakephp\\src\\Database\\Statement\\MysqlStatement.php on line 39\r\n````\r\n\r\nIt seems the ``extension`` field is only a VARCHAR(5).\r\n\r\nIt's questionable, though, whether the file ``.editorconfig`` actually has an extension."},"comment":{"url":"https://api.github.com/repos/burzum/cakephp-file-storage/issues/comments/412481755","html_url":"https://github.com/burzum/cakephp-file-storage/issues/157#issuecomment-412481755","issue_url":"https://api.github.com/repos/burzum/cakephp-file-storage/issues/157","id":412481755,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjQ4MTc1NQ==","user":{"login":"burzum","id":162789,"node_id":"MDQ6VXNlcjE2Mjc4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/162789?v=4","gravatar_id":"","url":"https://api.github.com/users/burzum","html_url":"https://github.com/burzum","followers_url":"https://api.github.com/users/burzum/followers","following_url":"https://api.github.com/users/burzum/following{/other_user}","gists_url":"https://api.github.com/users/burzum/gists{/gist_id}","starred_url":"https://api.github.com/users/burzum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burzum/subscriptions","organizations_url":"https://api.github.com/users/burzum/orgs","repos_url":"https://api.github.com/users/burzum/repos","events_url":"https://api.github.com/users/burzum/events{/privacy}","received_events_url":"https://api.github.com/users/burzum/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T10:59:49Z","updated_at":"2018-08-13T10:59:49Z","author_association":"OWNER","body":"@ravage84 @liviascapin can we close this?"}}
{"actor":{"display_login":"burzum"}}