{"action":"created","issue":{"url":"https://api.github.com/repos/openscholar/openscholar/issues/8048","repository_url":"https://api.github.com/repos/openscholar/openscholar","labels_url":"https://api.github.com/repos/openscholar/openscholar/issues/8048/labels{/name}","comments_url":"https://api.github.com/repos/openscholar/openscholar/issues/8048/comments","events_url":"https://api.github.com/repos/openscholar/openscholar/issues/8048/events","html_url":"https://github.com/openscholar/openscholar/issues/8048","id":136803009,"number":8048,"title":"Media Gallery: Image file becomes broken when its file name is changed","user":{"login":"tcheng001","id":2111600,"avatar_url":"https://avatars.githubusercontent.com/u/2111600?v=3","gravatar_id":"","url":"https://api.github.com/users/tcheng001","html_url":"https://github.com/tcheng001","followers_url":"https://api.github.com/users/tcheng001/followers","following_url":"https://api.github.com/users/tcheng001/following{/other_user}","gists_url":"https://api.github.com/users/tcheng001/gists{/gist_id}","starred_url":"https://api.github.com/users/tcheng001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcheng001/subscriptions","organizations_url":"https://api.github.com/users/tcheng001/orgs","repos_url":"https://api.github.com/users/tcheng001/repos","events_url":"https://api.github.com/users/tcheng001/events{/privacy}","received_events_url":"https://api.github.com/users/tcheng001/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openscholar/openscholar/labels/Merged%20into%203.x","name":"Merged into 3.x","color":"fbca04"},{"url":"https://api.github.com/repos/openscholar/openscholar/labels/status:%20fixed","name":"status: fixed","color":"02e10c"}],"state":"open","locked":false,"assignee":{"login":"RoySegall","id":1222368,"avatar_url":"https://avatars.githubusercontent.com/u/1222368?v=3","gravatar_id":"","url":"https://api.github.com/users/RoySegall","html_url":"https://github.com/RoySegall","followers_url":"https://api.github.com/users/RoySegall/followers","following_url":"https://api.github.com/users/RoySegall/following{/other_user}","gists_url":"https://api.github.com/users/RoySegall/gists{/gist_id}","starred_url":"https://api.github.com/users/RoySegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoySegall/subscriptions","organizations_url":"https://api.github.com/users/RoySegall/orgs","repos_url":"https://api.github.com/users/RoySegall/repos","events_url":"https://api.github.com/users/RoySegall/events{/privacy}","received_events_url":"https://api.github.com/users/RoySegall/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/openscholar/openscholar/milestones/48","html_url":"https://github.com/openscholar/openscholar/milestones/March%2030,%202016","labels_url":"https://api.github.com/repos/openscholar/openscholar/milestones/48/labels","id":1608074,"number":48,"title":"March 30, 2016","description":"New Media Browser Issues","creator":{"login":"Bilsi","id":11841641,"avatar_url":"https://avatars.githubusercontent.com/u/11841641?v=3","gravatar_id":"","url":"https://api.github.com/users/Bilsi","html_url":"https://github.com/Bilsi","followers_url":"https://api.github.com/users/Bilsi/followers","following_url":"https://api.github.com/users/Bilsi/following{/other_user}","gists_url":"https://api.github.com/users/Bilsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Bilsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bilsi/subscriptions","organizations_url":"https://api.github.com/users/Bilsi/orgs","repos_url":"https://api.github.com/users/Bilsi/repos","events_url":"https://api.github.com/users/Bilsi/events{/privacy}","received_events_url":"https://api.github.com/users/Bilsi/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":6,"state":"open","created_at":"2016-02-26T13:48:41Z","updated_at":"2016-03-02T17:35:41Z","due_on":"2016-03-30T04:00:00Z","closed_at":null},"comments":12,"created_at":"2016-02-26T20:15:52Z","updated_at":"2016-03-02T18:48:44Z","closed_at":null,"body":"Steps to reproduce:\r\nGo to a media gallery\r\nClick the contextual link \"Edit\" of an image\r\nChange file name and Save\r\nNote: The Media Browser will close and the image becomes broken."},"comment":{"url":"https://api.github.com/repos/openscholar/openscholar/issues/comments/191368694","html_url":"https://github.com/openscholar/openscholar/issues/8048#issuecomment-191368694","issue_url":"https://api.github.com/repos/openscholar/openscholar/issues/8048","id":191368694,"user":{"login":"tcheng001","id":2111600,"avatar_url":"https://avatars.githubusercontent.com/u/2111600?v=3","gravatar_id":"","url":"https://api.github.com/users/tcheng001","html_url":"https://github.com/tcheng001","followers_url":"https://api.github.com/users/tcheng001/followers","following_url":"https://api.github.com/users/tcheng001/following{/other_user}","gists_url":"https://api.github.com/users/tcheng001/gists{/gist_id}","starred_url":"https://api.github.com/users/tcheng001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcheng001/subscriptions","organizations_url":"https://api.github.com/users/tcheng001/orgs","repos_url":"https://api.github.com/users/tcheng001/repos","events_url":"https://api.github.com/users/tcheng001/events{/privacy}","received_events_url":"https://api.github.com/users/tcheng001/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T18:48:44Z","updated_at":"2016-03-02T18:48:44Z","body":"Look good.  \r\n1) able to add media\r\n2) able to change file name\r\n3) able to change label name\r\n4) able to change alt text and title text\r\n5) able to change image caption\r\n6) able to change uploaded date\r\n7) able to replace file\r\n8) able to tag terms\r\n9) check cp/content/files page  \r\na) able to add file\r\nb) able to edit file \r\n10) check News\r\na) able to attach file to news node\r\nb) add news photo\r\nc) check Library\r\nTested on http://staging.scholar.harvard.edu/tcheng3\r\nIt takes longer time to load files because the site has 2k files. \r\n\r\nI tested on another site http://staging.scholar.harvard.edu/torman_personal, loading files is not noticeable. "}}