{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/3043","repository_url":"https://api.github.com/repos/projecthydra/sufia","labels_url":"https://api.github.com/repos/projecthydra/sufia/issues/3043/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/3043/comments","events_url":"https://api.github.com/repos/projecthydra/sufia/issues/3043/events","html_url":"https://github.com/projecthydra/sufia/issues/3043","id":204424745,"number":3043,"title":"In file view, citation button throws error","user":{"login":"julesies","id":4356335,"avatar_url":"https://avatars.githubusercontent.com/u/4356335?v=3","gravatar_id":"","url":"https://api.github.com/users/julesies","html_url":"https://github.com/julesies","followers_url":"https://api.github.com/users/julesies/followers","following_url":"https://api.github.com/users/julesies/following{/other_user}","gists_url":"https://api.github.com/users/julesies/gists{/gist_id}","starred_url":"https://api.github.com/users/julesies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julesies/subscriptions","organizations_url":"https://api.github.com/users/julesies/orgs","repos_url":"https://api.github.com/users/julesies/repos","events_url":"https://api.github.com/users/julesies/events{/privacy}","received_events_url":"https://api.github.com/users/julesies/received_events","type":"User","site_admin":false},"labels":[{"id":25109939,"url":"https://api.github.com/repos/projecthydra/sufia/labels/bug","name":"bug","color":"eb6420","default":true},{"id":178718266,"url":"https://api.github.com/repos/projecthydra/sufia/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"scherztc","id":5084562,"avatar_url":"https://avatars.githubusercontent.com/u/5084562?v=3","gravatar_id":"","url":"https://api.github.com/users/scherztc","html_url":"https://github.com/scherztc","followers_url":"https://api.github.com/users/scherztc/followers","following_url":"https://api.github.com/users/scherztc/following{/other_user}","gists_url":"https://api.github.com/users/scherztc/gists{/gist_id}","starred_url":"https://api.github.com/users/scherztc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherztc/subscriptions","organizations_url":"https://api.github.com/users/scherztc/orgs","repos_url":"https://api.github.com/users/scherztc/repos","events_url":"https://api.github.com/users/scherztc/events{/privacy}","received_events_url":"https://api.github.com/users/scherztc/received_events","type":"User","site_admin":false},"assignees":[{"login":"scherztc","id":5084562,"avatar_url":"https://avatars.githubusercontent.com/u/5084562?v=3","gravatar_id":"","url":"https://api.github.com/users/scherztc","html_url":"https://github.com/scherztc","followers_url":"https://api.github.com/users/scherztc/followers","following_url":"https://api.github.com/users/scherztc/following{/other_user}","gists_url":"https://api.github.com/users/scherztc/gists{/gist_id}","starred_url":"https://api.github.com/users/scherztc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherztc/subscriptions","organizations_url":"https://api.github.com/users/scherztc/orgs","repos_url":"https://api.github.com/users/scherztc/repos","events_url":"https://api.github.com/users/scherztc/events{/privacy}","received_events_url":"https://api.github.com/users/scherztc/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/projecthydra/sufia/milestones/17","html_url":"https://github.com/projecthydra/sufia/milestone/17","labels_url":"https://api.github.com/repos/projecthydra/sufia/milestones/17/labels","id":1986650,"number":17,"title":"7.3.0","description":"","creator":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":86,"state":"open","created_at":"2016-09-06T16:20:03Z","updated_at":"2017-02-01T20:47:22Z","due_on":"2017-02-11T08:00:00Z","closed_at":null},"comments":3,"created_at":"2017-01-31T21:12:29Z","updated_at":"2017-02-01T21:47:33Z","closed_at":null,"body":"Sufia 7.2 \r\nIf you are looking at an individual file (not work) view, clicking the Citation button throws the error \"We're sorry but something went wrong\". It works fine on the \"Work\" view. \r\n\r\nExpected behavior:\r\nEither the file view citation button works as the work view does, or the citation link does not show on the file page. \r\n\r\nSteps to reproduce the behavior\r\n\r\n1. Navigate to a file view page (not work)\r\n2. Click the citation button. \r\n\r\n![screen shot 2017-01-31 at 3 56 19 pm](https://cloud.githubusercontent.com/assets/4356335/22484080/d7550666-e7cd-11e6-9e9d-207bd21e1377.png)\r\n\r\n![screen shot 2017-01-31 at 3 51 26 pm](https://cloud.githubusercontent.com/assets/4356335/22484012/989859be-e7cd-11e6-8b7d-5881dee025a1.png)\r\n\r\nDev machine error: \r\n![cite_error](https://cloud.githubusercontent.com/assets/4356335/22484659/7f59e46a-e7d0-11e6-8c4e-ced69ef3c435.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/projecthydra/sufia/issues/comments/276793284","html_url":"https://github.com/projecthydra/sufia/issues/3043#issuecomment-276793284","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/3043","id":276793284,"user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"created_at":"2017-02-01T21:47:33Z","updated_at":"2017-02-01T21:47:33Z","body":"@julesies A FileSet is essentially a wrapper around an uploaded file that lets us bundle the file with its derivatives. There's no assumption about it having sufficient metadata to, e.g., give a citation sufficient context. (Agreeing with you about potentially poor file-level citations.) Work-level info does not percolate down into the FS's citation, no.\r\n\r\nLMK how that sounds. If that sounds good, I'll copy this ticket over to Hyrax as a new feature request."}}
{"actor":{"display_login":"mjgiarlo"}}