{"action":"created","issue":{"url":"https://api.github.com/repos/AASHE/hub/issues/302","repository_url":"https://api.github.com/repos/AASHE/hub","labels_url":"https://api.github.com/repos/AASHE/hub/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/AASHE/hub/issues/302/comments","events_url":"https://api.github.com/repos/AASHE/hub/issues/302/events","html_url":"https://github.com/AASHE/hub/issues/302","id":150890290,"number":302,"title":"Links to files with long titles break","user":{"login":"juliandsmith","id":15839046,"avatar_url":"https://avatars.githubusercontent.com/u/15839046?v=3","gravatar_id":"","url":"https://api.github.com/users/juliandsmith","html_url":"https://github.com/juliandsmith","followers_url":"https://api.github.com/users/juliandsmith/followers","following_url":"https://api.github.com/users/juliandsmith/following{/other_user}","gists_url":"https://api.github.com/users/juliandsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/juliandsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliandsmith/subscriptions","organizations_url":"https://api.github.com/users/juliandsmith/orgs","repos_url":"https://api.github.com/users/juliandsmith/repos","events_url":"https://api.github.com/users/juliandsmith/events{/privacy}","received_events_url":"https://api.github.com/users/juliandsmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AASHE/hub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/AASHE/hub/labels/prio:high","name":"prio:high","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/AASHE/hub/milestones/5","html_url":"https://github.com/AASHE/hub/milestones/Phase%201d:%20Post-Launch%20Improvements","labels_url":"https://api.github.com/repos/AASHE/hub/milestones/5/labels","id":1444500,"number":5,"title":"Phase 1d: Post-Launch Improvements","description":"","creator":{"login":"juliandsmith","id":15839046,"avatar_url":"https://avatars.githubusercontent.com/u/15839046?v=3","gravatar_id":"","url":"https://api.github.com/users/juliandsmith","html_url":"https://github.com/juliandsmith","followers_url":"https://api.github.com/users/juliandsmith/followers","following_url":"https://api.github.com/users/juliandsmith/following{/other_user}","gists_url":"https://api.github.com/users/juliandsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/juliandsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliandsmith/subscriptions","organizations_url":"https://api.github.com/users/juliandsmith/orgs","repos_url":"https://api.github.com/users/juliandsmith/repos","events_url":"https://api.github.com/users/juliandsmith/events{/privacy}","received_events_url":"https://api.github.com/users/juliandsmith/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":10,"state":"open","created_at":"2015-12-04T16:31:14Z","updated_at":"2016-04-25T15:01:02Z","due_on":"2016-04-22T04:00:00Z","closed_at":null},"comments":2,"created_at":"2016-04-25T15:01:02Z","updated_at":"2016-04-27T18:58:55Z","closed_at":null,"body":"I just discovered a [publication where the link to the file breaks](http://hub.aashe.org/browse/publication/1540/student-activities-climate-change-resource-guide-how-student-affairs-professionals-can-contribute-to-campus-climate-neutrality). It appears that this is due to the length of the URL because the f seems to be missing at the end of the file URL: \"http://hub-media.aashe.org/uploads/0How20Student20Affairs20Professionals20Can20Contribute20to20Campus20Climate20Neutrality.pd\". Sadly, merely adding an \"f\" to the link doesn't make the link work. \r\n\r\nI don't have any easy way to determine how many other publications this impacts but obviously making sure the existing links work is a high priority."},"comment":{"url":"https://api.github.com/repos/AASHE/hub/issues/comments/215193587","html_url":"https://github.com/AASHE/hub/issues/302#issuecomment-215193587","issue_url":"https://api.github.com/repos/AASHE/hub/issues/302","id":215193587,"user":{"login":"jamstooks","id":585436,"avatar_url":"https://avatars.githubusercontent.com/u/585436?v=3","gravatar_id":"","url":"https://api.github.com/users/jamstooks","html_url":"https://github.com/jamstooks","followers_url":"https://api.github.com/users/jamstooks/followers","following_url":"https://api.github.com/users/jamstooks/following{/other_user}","gists_url":"https://api.github.com/users/jamstooks/gists{/gist_id}","starred_url":"https://api.github.com/users/jamstooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamstooks/subscriptions","organizations_url":"https://api.github.com/users/jamstooks/orgs","repos_url":"https://api.github.com/users/jamstooks/repos","events_url":"https://api.github.com/users/jamstooks/events{/privacy}","received_events_url":"https://api.github.com/users/jamstooks/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T18:58:55Z","updated_at":"2016-04-27T18:58:55Z","body":"Right, she's not removing uploaded files.\r\n\r\nSo any new submissions won't have the issue, because we have that catch in place. I'm bummed the migration process didn't catch the error in the same way as submissions.\r\n\r\nIn the meantime, I can write a script to list the resource files that are 100 characters long, which likely means that they have been truncated.\r\n\r\nWe'll still have to go through those and find the original file and re-upload though :("}}