{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/351","repository_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard","labels_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/351/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/351/events","html_url":"https://github.com/ParsePlatform/parse-dashboard/issues/351","id":155050918,"number":351,"title":"Broken file names in Files columns while using S3 bucket","user":{"login":"aryelevin","id":5435949,"avatar_url":"https://avatars.githubusercontent.com/u/5435949?v=3","gravatar_id":"","url":"https://api.github.com/users/aryelevin","html_url":"https://github.com/aryelevin","followers_url":"https://api.github.com/users/aryelevin/followers","following_url":"https://api.github.com/users/aryelevin/following{/other_user}","gists_url":"https://api.github.com/users/aryelevin/gists{/gist_id}","starred_url":"https://api.github.com/users/aryelevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aryelevin/subscriptions","organizations_url":"https://api.github.com/users/aryelevin/orgs","repos_url":"https://api.github.com/users/aryelevin/repos","events_url":"https://api.github.com/users/aryelevin/events{/privacy}","received_events_url":"https://api.github.com/users/aryelevin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-16T15:13:41Z","updated_at":"2016-05-26T16:39:38Z","closed_at":null,"body":"Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!\r\n\r\n- [V] You're running version >=2.1.4 of Parse Server.\r\n\r\n- [V] You've searched through [existing issues](https://github.com/ParsePlatform/parse-dashboard/issues?utf8=%E2%9C%93&q=). Chances are that your issue has been reported or resolved before.\r\n\r\n#### Environment Setup\r\nParse Server 2.2.9\r\nDashboard 1.0.11\r\nS3 bucket as files store\r\n\r\n#### Steps to reproduce\r\nUpload file using dashboard\r\nAfter the upload done see file name with missing first 4 characters\r\nThe issue is because the substring of 37 characters, but in case the S3 (at least, i don't know about other file store services) the uuid of the file generated is missing the dashes, so the length of the uuid is 33 instead 37.\r\n\r\nPossible solution is to avoid the length based calculation, and use indexOf(\"_\"), and this will be a good solution for it, but needs to check first if tfss is found, since there, theres no \"_\" separating the name from the uuid.\r\n\r\n#### Logs/Trace\r\nNote: If you get a browser JS error please run `npm run dev`. This will provide source maps and a much more useful stack trace.\r\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/comments/221926178","html_url":"https://github.com/ParsePlatform/parse-dashboard/issues/351#issuecomment-221926178","issue_url":"https://api.github.com/repos/ParsePlatform/parse-dashboard/issues/351","id":221926178,"user":{"login":"quaz3l","id":833787,"avatar_url":"https://avatars.githubusercontent.com/u/833787?v=3","gravatar_id":"","url":"https://api.github.com/users/quaz3l","html_url":"https://github.com/quaz3l","followers_url":"https://api.github.com/users/quaz3l/followers","following_url":"https://api.github.com/users/quaz3l/following{/other_user}","gists_url":"https://api.github.com/users/quaz3l/gists{/gist_id}","starred_url":"https://api.github.com/users/quaz3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quaz3l/subscriptions","organizations_url":"https://api.github.com/users/quaz3l/orgs","repos_url":"https://api.github.com/users/quaz3l/repos","events_url":"https://api.github.com/users/quaz3l/events{/privacy}","received_events_url":"https://api.github.com/users/quaz3l/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T16:39:38Z","updated_at":"2016-05-26T16:39:38Z","body":"@aryelevin any update on this?"}}
{"actor":{"display_login":"quaz3l"}}