{"action":"created","issue":{"url":"https://api.github.com/repos/pkp/pkp-lib/issues/2083","repository_url":"https://api.github.com/repos/pkp/pkp-lib","labels_url":"https://api.github.com/repos/pkp/pkp-lib/issues/2083/labels{/name}","comments_url":"https://api.github.com/repos/pkp/pkp-lib/issues/2083/comments","events_url":"https://api.github.com/repos/pkp/pkp-lib/issues/2083/events","html_url":"https://github.com/pkp/pkp-lib/issues/2083","id":194837418,"number":2083,"title":"[OJS] Author View Metadata modal javascript error","user":{"login":"ajnyga","id":16347527,"avatar_url":"https://avatars.githubusercontent.com/u/16347527?v=3","gravatar_id":"","url":"https://api.github.com/users/ajnyga","html_url":"https://github.com/ajnyga","followers_url":"https://api.github.com/users/ajnyga/followers","following_url":"https://api.github.com/users/ajnyga/following{/other_user}","gists_url":"https://api.github.com/users/ajnyga/gists{/gist_id}","starred_url":"https://api.github.com/users/ajnyga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajnyga/subscriptions","organizations_url":"https://api.github.com/users/ajnyga/orgs","repos_url":"https://api.github.com/users/ajnyga/repos","events_url":"https://api.github.com/users/ajnyga/events{/privacy}","received_events_url":"https://api.github.com/users/ajnyga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bozana","id":378421,"avatar_url":"https://avatars.githubusercontent.com/u/378421?v=3","gravatar_id":"","url":"https://api.github.com/users/bozana","html_url":"https://github.com/bozana","followers_url":"https://api.github.com/users/bozana/followers","following_url":"https://api.github.com/users/bozana/following{/other_user}","gists_url":"https://api.github.com/users/bozana/gists{/gist_id}","starred_url":"https://api.github.com/users/bozana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bozana/subscriptions","organizations_url":"https://api.github.com/users/bozana/orgs","repos_url":"https://api.github.com/users/bozana/repos","events_url":"https://api.github.com/users/bozana/events{/privacy}","received_events_url":"https://api.github.com/users/bozana/received_events","type":"User","site_admin":false},"assignees":[{"login":"bozana","id":378421,"avatar_url":"https://avatars.githubusercontent.com/u/378421?v=3","gravatar_id":"","url":"https://api.github.com/users/bozana","html_url":"https://github.com/bozana","followers_url":"https://api.github.com/users/bozana/followers","following_url":"https://api.github.com/users/bozana/following{/other_user}","gists_url":"https://api.github.com/users/bozana/gists{/gist_id}","starred_url":"https://api.github.com/users/bozana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bozana/subscriptions","organizations_url":"https://api.github.com/users/bozana/orgs","repos_url":"https://api.github.com/users/bozana/repos","events_url":"https://api.github.com/users/bozana/events{/privacy}","received_events_url":"https://api.github.com/users/bozana/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pkp/pkp-lib/milestones/23","html_url":"https://github.com/pkp/pkp-lib/milestone/23","labels_url":"https://api.github.com/repos/pkp/pkp-lib/milestones/23/labels","id":2062894,"number":23,"title":"OJS 3.0.2","description":"Minor bugfix release following up on OJS 3.0.1.","creator":{"login":"asmecher","id":200411,"avatar_url":"https://avatars.githubusercontent.com/u/200411?v=3","gravatar_id":"","url":"https://api.github.com/users/asmecher","html_url":"https://github.com/asmecher","followers_url":"https://api.github.com/users/asmecher/followers","following_url":"https://api.github.com/users/asmecher/following{/other_user}","gists_url":"https://api.github.com/users/asmecher/gists{/gist_id}","starred_url":"https://api.github.com/users/asmecher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmecher/subscriptions","organizations_url":"https://api.github.com/users/asmecher/orgs","repos_url":"https://api.github.com/users/asmecher/repos","events_url":"https://api.github.com/users/asmecher/events{/privacy}","received_events_url":"https://api.github.com/users/asmecher/received_events","type":"User","site_admin":false},"open_issues":83,"closed_issues":12,"state":"open","created_at":"2016-10-11T17:48:51Z","updated_at":"2016-12-15T16:05:48Z","due_on":"2017-02-01T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-12-11T15:22:12Z","updated_at":"2016-12-16T11:46:49Z","closed_at":null,"body":"Hi,\r\n\r\nIf after submitting a manuscript I login as an author and want to view the submission metadata, I get this javascript error:\r\n\r\n`Error: There is no handler bound to this element!  Handler.js:142:10`\r\n\r\nThe javascript that is causing the error is here:\r\nhttps://github.com/pkp/ojs/blob/ojs-stable-3_0_1/templates/controllers/modals/submissionMetadata/form/issueEntrySubmissionReviewForm.tpl\r\n\r\nOn row 64 the template checks if the user can edit metadata. If not, the file uploader section is not loaded.\r\n\r\nHowever, on line 20 the javascript is calling for #coverImageUploader although this is not visible in the form when the user can not edit metadata. \r\n\r\nOJS 3.0.1.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pkp/pkp-lib/issues/comments/267577734","html_url":"https://github.com/pkp/pkp-lib/issues/2083#issuecomment-267577734","issue_url":"https://api.github.com/repos/pkp/pkp-lib/issues/2083","id":267577734,"user":{"login":"ajnyga","id":16347527,"avatar_url":"https://avatars.githubusercontent.com/u/16347527?v=3","gravatar_id":"","url":"https://api.github.com/users/ajnyga","html_url":"https://github.com/ajnyga","followers_url":"https://api.github.com/users/ajnyga/followers","following_url":"https://api.github.com/users/ajnyga/following{/other_user}","gists_url":"https://api.github.com/users/ajnyga/gists{/gist_id}","starred_url":"https://api.github.com/users/ajnyga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajnyga/subscriptions","organizations_url":"https://api.github.com/users/ajnyga/orgs","repos_url":"https://api.github.com/users/ajnyga/repos","events_url":"https://api.github.com/users/ajnyga/events{/privacy}","received_events_url":"https://api.github.com/users/ajnyga/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T11:46:49Z","updated_at":"2016-12-16T11:46:49Z","body":"This same issue causes the review form to crash if the reviewer checks the submission metadata in step 1: http://forum.pkp.sfu.ca/t/ojs3-moving-between-steps-in-submission-and-review-forms-sometimes-cause-errors/26283/9"}}
{"actor":{"display_login":"ajnyga"}}