-
Notifications
You must be signed in to change notification settings - Fork 456
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
DOAJ plugin not including correct fullTextUrl urls in XML #11093
Comments
Hmmm... It seems it was always so... And I do not know why (any more)... So, it seems the user has submitted the data differently (not using the plugin) earlier? |
Hi @bozana so, some more information about how this client of ours ended up in this situation. The DOAJ provides a portal for their users where you can enter all of the metadata in manually. They had been doing this, and were using the full text URL to the HTML galley in all cases. This creates a problem if you start using the OJS plugin after because the DOAJ uses the full text URL and the DOI to "version" the article. However I don't think you can do this versioning with the plugin - when this client tried to update records they receive a "Forbidden" error through the DOAJ API. If there was a way to do this versioning with the plugin or maybe fail a bit more gracefully, maybe this would be better. |
Hi @jnugent, now I believe I know why we are register the article landing page: because DOAJ XSD allows only one fullTextURL to be registered. It is also used as an identifier of the article (except the DOI) by DOAJ. EDIT: |
Hi @jnugent, maybe also to double check what do you mean with versioning above? What did the user exactly wanted to do -- to update registered metadata with DOAJ? |
Valid Title
Description
The DOAJ plugin uses a Filter class to build an XML document, and in that XML document there are elements that are supposed to contain URLs to the full text galleys. The code is instead building URLs to the article landing page:
https://github.com/pkp/ojs/blob/stable-3_4_0/plugins/importexport/doaj/filter/DOAJXmlFilter.php#L190
as
$pubObject
in that context is the Submission object. If a journal has previous DOAJ content and tries to resubmit their XML, they'll get an error likeEither the DOI or Fulltext URL has been changed. This operation is not permitted
which causes the deposit to fail.
Steps to Reproduce
The steps to reproduce here will be tricky here unless you can test this against DOAJ but
Expected Result
The system should include a full text url to the galley.
Actual Result
The galley URL should be present. I am not entirely sure what the result should be if there is more than one galley.
Environment Details
No response
Application Version
OJS 3.4
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: