We have been working with sandbox credentials to test the ORCID plugin before we can obtain production ORCID credentials. When we attempt to register new accounts connected to test ORCID iDs, we can successfully log into our sandbox ORCID account, but none of the information automatically populates the registration fields, nor is the ORCID iD associated with the account in any apparent way (viewing the Public tab on the test account’s profile shows a blank field for ORCID iD, and sandbox ORCID iDs cannot be entered manually). If we attempt to manually enter the ORCID in the profile, the character limit prevents us from entering a sandbox ORCID iD.
Are sandbox ORCID credentials not accepted on OJS 3?
Additionally, if you run a journal that was able to obtain production credentials for use with OJS from ORCID, how were you able to do a demonstration of your ORCID integration in order to obtain production credentials?
I was working on the plugin for a while, in the current version of the plugin (1.1.1) the user registration with ORCID is not working with OJS 3.1.2. The issue is known and I just filed it today: https://github.com/pkp/pkp-lib/issues/4601
We are still working on a solution.
But you should be able to use Sandbox credentials and should be able to connect the ORCID iD from the User profile page . See the public tab and connect and authenticate ORCID iD with the button.
After update of OJS to 3.1.2, I am facing a problem. Whenever, the editor makes a decision Revision or Accepted of manuscript, the email is not delivered to the author. Rather we receive error message with the subject line : Subject: [SJOM] Submission ORCID.
I was surprise, this has nothing to do with the editor decison of accepting/rejecting/revision of article.
Then I looked at the metadata of the article (specificaly the author details), and I noticed a strange fields regarding the ORCID (Screenshot attached ). .
And yes, Now, I have disabled the ORCID plugin and things are back to normal. At last authors are notified for the decisions and emails are not bouncing.
Please help to resolve this issue of ORCID Plugin.
Thanks and Regards
I tried to reproduce the error in our test instanace, but couldn’t find it.
Do you remember what the settings where for the ORCID Profile plugin, while you had it enabled?
And which step in the Submission process was not sending e-mail?
I also had an issue - it appears that OJS is not set up to test with sandbox ORCID iDs. I was testing the ORCID plugin using ORCID sandbox API credentials, and connected my sandbox ORCID iD. The OJS journal shows up as a “trusted organization” in the account settings of my sandbox ORCID record, however, the ORCID iD listed for me in OJS is listed as a real ORCID iD, not a sandbox ORCID iD, so it’s linking to the wrong ORCID record. for example: my sandbox ORCID iD is this: ORCID but it is showing up in OJS as ORCID (no sandbox in the URL). This is a problem for people trying to test the plugin using sandbox API credentials and sandbox ORCID iD. Thus, I was not able to test the functionality of writing publication information to the sandbox ORCID record, because OJS is expecting a real ORCID iD, not a sandbox ORCID iD. Is there a work-around for this, or can PKP please allow for sandbox ORCID iDs to be used so that people can test the plugin functionality before going to production?
Also, in this same test, the administrator sent me an email to connect my ORCID iD with a specific publication submission. When I clicked on the link from the email to connect my ORCID iD, I received the error, captured in the screen shot below. The Auth URL from the email was this: ORCID – is this because I had already connected my ORCID with my profile? The authorization link is pointing to the sandbox but the auth code returned is not being successfully exchanged, but I can’t tell why.
It seems like OJS is not set up to work with sandbox ORCID iDs? Also, I would have thought that since I already connected my sandbox ORCID iD with my OJS author profile, that information would propagate across the system?
The ORCID plugin is enabled on OJS 3.2 we are using, am I am able to send out emails to authors asking for them to authenticate their ids. However, the received email from the user end has a link that does not work:
@kulren, @Dulip_Withanage I have the same problem, I have the newer version of the plugin, but when sending the email and pressing the link, it gives the authors an error and the ORCID is not recognized.
You both have the newest version and it seems , there is a bug.
Is it possible, for me to get a log of the communication in $OJS_FILES/orcid.log to see the details.
Also when the ORCID plugin is active and we try to accept a revision, a php error is thrown Call to undefined method AuthorDAO::getBySubmissionId() in /var/www/vhosts/…/httpdocs/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php:
Deactivate the ORCID plugin and we can accept the revision again
Our plugin screen actually says “Can be upgraded”, we have 1.1.2.3 iso 1.1.2.4 (latest?)
We have an issue upgrading the plugin in the interface because of tar permission. Is it possible to install a newer version of the plugin e.g. by ftp and overwrite the directory on the server with the newer one, or would that mess up the plugin administration?
@Dulip_Withanage it’s the default theme and the plugin has been updated to 1.1.2.4
I looked in the table [email_templates_settings] searching for orcid:
It reads:
Dear {$authorName},
You have been listed as an author
on the manuscript submission "{$articleTitle}" to {$contextName}.
Please allow us to add your ORCID id to this submission and also to add the submission
to your ORCID profile on publication.
Visit the link to the official ORCID website, login with your profile and authorize the access by following the instructions. a href="https://www.mysite.org/site/management/settings/{$authorOrcidUrl}">
img id="orcid-id-logo" style="display: block; margin: 0 .5em 0 0; padding: 0; float: left;"
src="https://orcid.org/sites/default/files/images/orcid_16x16.png" alt="ORCID iD icon"
width="16" height="16" />Register or Connect your ORCID iD
a href="https://www.mysite.org/site/management/settings/{$orcidAboutUrl}">More
about ORCID at {$contextName}
If you have any questions,
please contact me.
Kind regards
in the text just be <a href="{$authorOrcidUrl}">
??
What does $authorOrcidUrl turn into? When I look in the email it looks the result is a link that starts with <a href="
etc which will turn into an incorrect url if the {$authorOrcidUrl} is proceeded by <a href="https://www.mysite.org/site/management/settings/
At the User registration page, while authorizing the ORCID iD, a blank page appears. The OJS error log says:
[08-Aug-2020 06:17:50 America/Boise] PHP Deprecated: Non-static method PKPApplication::getRequest() should not be called statically in …/plugins/generic/registrationNotification/RegistrationNotificationPlugin.inc.php on line 54
[08-Aug-2020 06:17:50 America/Boise] ojs2: 404 Not Found
I’m using latest OJS 3.2.1.1 and ORCID plugin v1.1.2.4