-
Notifications
You must be signed in to change notification settings - Fork 50
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
Cannot enable plugin in OJS 3.4 #276
Comments
…tion is detected
…the initialization code
…tion is detected
…the initialization code
@withanage / @asmecher would any of you be able to review the linked PRs? |
@jonasraoni, it looks like some code was rearranged/reformatted in the PR, which makes it hard to read; can you highlight the parts of the PR that corrected the reported problem? |
Oh sorry, I've just dropped the Looks like it worked fine for a user in the forum. Also, the build is breaking in |
@jonasraoni, I suspect you need to change the distro in the Travis config from @withanage, can you review the above, and check into why the automated testing didn't catch this? |
@jonasraoni and @withanage, I ended up manually porting the parts of the PR that Jonas identified to Next time, it would be less risky to the
I also put together a Plugin Gallery release for the sake of 3.4.0-0 and 3.4.0-1 users. |
Describe the bug
In a clear installation, it's not possible to enable the plugin, due to a validation that happens within the
setEnabled()
method.Solution
It should be possible to enable the plugin, otherwise it's not possible to setup the settings which are failing to be validated.
If the settings are invalid, the plugin could just skip its normal operation, and perhaps emit an alert.
To Reproduce
Expected behavior
I expect the plugin to be enabled right away, the validation can be moved elsewhere.
Origin
https://forum.pkp.sfu.ca/t/orcid-profile-plugin-cannot-be-enabled-in-ojs-3-4-0-1/79469/29
The text was updated successfully, but these errors were encountered: