{"action":"created","issue":{"url":"https://api.github.com/repos/pkp/pkp-lib/issues/1543","repository_url":"https://api.github.com/repos/pkp/pkp-lib","labels_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1543/labels{/name}","comments_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1543/comments","events_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1543/events","html_url":"https://github.com/pkp/pkp-lib/issues/1543","id":161669834,"number":1543,"title":"DOI automatic registration","user":{"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},"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/20","html_url":"https://github.com/pkp/pkp-lib/milestones/OJS%202.4.8-1","labels_url":"https://api.github.com/repos/pkp/pkp-lib/milestones/20/labels","id":1575371,"number":20,"title":"OJS 2.4.8-1","description":"","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":8,"closed_issues":20,"state":"open","created_at":"2016-02-10T17:29:33Z","updated_at":"2016-06-23T15:28:10Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-06-22T12:34:23Z","updated_at":"2016-06-24T09:18:28Z","closed_at":null,"body":"DOI export plugins seem to have a few bugs:\r\n- It is looked if the plugin is enabled for a journal, which is not the case for importexport plugins, thus it would be better to look if the username and password are set.\r\n- $this->notify used if there is no DOI prefix set does not exist. Rather this->addExecutionLogEntry should be used.\r\n- The array of unregistered objects instead of the array of object IDs is constructed for the registration.\r\n- There is no check if the DOI can be assigned (e.g. if the object is excluded). In the case an excluded object is in the list, the function _getObjectsFromIds in DOIExportPlugin will return false (for the whole object list/array).\r\n\r\nThus, I am wondering it worked at all ;-)\r\n\r\nSee:\r\n- https://github.com/pkp/ojs/blob/ojs-dev-2_4/plugins/importexport/crossref/CrossrefInfoSender.inc.php \r\n- https://github.com/pkp/ojs/blob/ojs-dev-2_4/plugins/importexport/datacite/DataciteInfoSender.inc.php \r\n\r\nThe CrossRef bug will be solved here: https://github.com/pkp/pkp-lib/issues/1498\r\nThe mEDRA is coming here: https://github.com/pkp/ojs/pull/865\r\nThe DataCite fix is coming soon.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pkp/pkp-lib/issues/comments/228298103","html_url":"https://github.com/pkp/pkp-lib/issues/1543#issuecomment-228298103","issue_url":"https://api.github.com/repos/pkp/pkp-lib/issues/1543","id":228298103,"user":{"login":"marchitelli","id":363631,"avatar_url":"https://avatars.githubusercontent.com/u/363631?v=3","gravatar_id":"","url":"https://api.github.com/users/marchitelli","html_url":"https://github.com/marchitelli","followers_url":"https://api.github.com/users/marchitelli/followers","following_url":"https://api.github.com/users/marchitelli/following{/other_user}","gists_url":"https://api.github.com/users/marchitelli/gists{/gist_id}","starred_url":"https://api.github.com/users/marchitelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marchitelli/subscriptions","organizations_url":"https://api.github.com/users/marchitelli/orgs","repos_url":"https://api.github.com/users/marchitelli/repos","events_url":"https://api.github.com/users/marchitelli/events{/privacy}","received_events_url":"https://api.github.com/users/marchitelli/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T09:18:28Z","updated_at":"2016-06-24T09:18:28Z","body":"@bozana I think that the warnign reported is not related to the plugin error. May you suggest me how modify the plugin logging? Thanks"}}
{"actor":{"display_login":"marchitelli"}}