You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify you receive an oai error "Error Code | cannotDisseminateFormat | Cannot disseminate format (JATS XML not available". This error is OK because we don't have xml jats in galley.
Upload a valid xml jats in galley to to a new revision in the same issue an publish.
Verify you get a blank page in your browser (error 500) and in the apache log the error I paste on top
What was expected
This is what I was expecting:
I'm not sure if this is an error but until today I used to verify my exposed xml jats in this way and now it is failing. If this is the same way index services use to get jats metadata I suppose they will get the same error but I'm not an expert in OAI interface.
Regards.
The text was updated successfully, but these errors were encountered:
@marcoblancas, you should be able to fix this by applying either of the above commits to your oaiJats plugin (they're equivalent, just applied to different branches). I'll release a new version of that plugin shortly, so it should appear in the Plugin Gallery. (Edit: Fix released in 1.0.4-2.)
With OJS 3.3.0.2 and oaiJats 1.0.4.0 I get this error when I request jats via oai interface
[Thu Feb 04 20:00:20.634284 2021] [php7:error] [pid 9671] [client 127.0.0.1:49486] PHP Fatal error: Uncaught Error: Call to undefined method SubmissionFile::getFilePath() in /home/isaac.marco/git/ojs33/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php:65
Stack trace:
#0 /home/isaac.marco/git/ojs33/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php(91): OAIMetadataFormat_JATS->_findJats(Object(OAIRecord))
#1 /home/isaac.marco/git/ojs33/lib/pkp/classes/oai/OAI.inc.php(788): OAIMetadataFormat_JATS->toXml(Object(OAIRecord))
#2 /home/isaac.marco/git/ojs33/lib/pkp/classes/oai/OAI.inc.php(244): OAI->formatMetadata('jats', Object(OAIRecord))
#3 /home/isaac.marco/git/ojs33/lib/pkp/classes/oai/OAI.inc.php(73): OAI->GetRecord()
#4 /home/isaac.marco/git/ojs33/pages/oai/OAIHandler.inc.php(39): OAI->execute()
#5 /home/isaac.marco/git/ojs33/lib/pkp/classes/core/PKPRouter.inc.php(395): OAIHandler->index(Array, Object(Request))
#6 /home/isaac.marco/git/ojs33/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#7 / in /home/isaac.marco/git/ojs33/plugins/oaiMetadataFormats/oaiJats/OAIMetadataFormat_JATS.inc.php on line 65
Steps to reproduce:
What was expected
This is what I was expecting:
I'm not sure if this is an error but until today I used to verify my exposed xml jats in this way and now it is failing. If this is the same way index services use to get jats metadata I suppose they will get the same error but I'm not an expert in OAI interface.
Regards.
The text was updated successfully, but these errors were encountered: