Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OJS] orcidProfile Plugin: ORCID integration in User Register form broken #114

Open
2 tasks done
nils-stefan-weiher opened this issue Mar 14, 2019 · 6 comments
Open
2 tasks done

Comments

@nils-stefan-weiher
Copy link

Hi everyone and especially @Vitaliy-1 ,

@asmecher send an error message via teampkp Slack and I found out, that in 3.1.2 the orcidProfile Plugin integration with the User Registration form is completely broken.

I probably need some help in fixing this, as I am also working on other stuff.

Just wanted to put that issue out there, so that the bug is known and I don't forget to work on it.

Greetings from Heidelberg,

Nils

@Baytan
Copy link

Baytan commented Mar 14, 2019

I was also going to open an issue about this. We just upgraded to OJS 3.1.2. Some authors of our journal complain that they cannot register to the journal as new user. After I disabled the Orcid plugin, registering can be made.
Interestingly, when Orcid plugin is enabled, I cannot assign articles to issues. When I disable it, I can.

Thanks for the contributors of the OJS. Best regards.

@nils-stefan-weiher
Copy link
Author

Interestingly, when Orcid plugin is enabled, I cannot assign articles to issues. When I disable it, I can.

This was fixed with an updated version which was made available yesterday, see this pull request #62

@Baytan
Copy link

Baytan commented Mar 14, 2019

@isgrim
Thank you for your interest and reply. I will look into it. However, user registration problem is still prevent use of this plugin for the time being. Regards.

@nils-stefan-weiher
Copy link
Author

Yes, I am still thinking of a good solution to this, because there is another usability issue with user registration.
Currently the ORCID is also not stored as authenticated, because the access token is not submitted with the user registration, the whole registration process with the ORCID plugin needs more work, but I did not have more time to put into this.

@asmecher
Copy link
Member

asmecher commented Mar 20, 2019

I fixed the name field population in 54bd2e8, which was trivial so I've committed it to stable-3_1_2 and master.

As for the hook behaviour change, I've opened a PR for that: #66
Could you review this, @isgrim?

@NateWr's suggestion is a better long-term solution, so this will just be for the stable-3_1_2 branch (so we can release an updated version of the plugin with this working).

I took a quick look and it seems that the other ::execute functions aren't affected by the change in hook parameters, but your confirmation would be great, @isgrim!

Thanks, all...

@asmecher
Copy link
Member

As for master, I've committed 5d864b8 and e192a4d so that $registrationForm->user is exposed to the hook and picked up by the orcid profile plugin's hook registrant function.

asmecher referenced this issue Mar 21, 2019
pkp/pkp-lib#4601 Work-around for missing user object access in OJS 3.1.2
@withanage withanage transferred this issue from pkp/pkp-lib Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants