Checking exception handling (errors) from OAI

@kerimsarigul @asmecher

I’m Checking OAI then Result showing details And Error Log
Eror Log
[19-Apr-2023 20:41:06 UTC] PHP Notice: ob_start(): failed to create buffer in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[19-Apr-2023 20:41:09 UTC] PHP Warning: ob_start(): output handler ‘ob_gzhandler’ conflicts with ‘zlib output compression’ in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[19-Apr-2023 20:41:09 UTC] PHP Notice: ob_start(): failed to create buffer in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63

# Showing validation log OAI

Running validation checks (step 2)

baseURL is https://ijbssrnet.com/index.php/ijbssr/oai
Registration requested
Request logged from 27.131.15.242

Checking Identify response

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=Identify GET

PASS Administrator email address is ‘contact@ijbssrnet.com’

PASS Correctly reports OAI-PMH protocol version 2.0

PASS baseURL supplied matches the Identify response

PASS Datestamp granularity is ‘seconds’

PASS Extracted earliestDatestamp 2020-09-09T08:18:13Z

PASS oai-identifier description for version 2.0 is being used

PASS namespace-identifier (repositoryIdentifier element) in oai-identifier declaration is ojs2.ijbssrnet.com

Checking ListSets response

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListSets GET

PASS responseDate has correct format: 2023-04-19T20:47:15Z

PASS Extracted 4 set names: { ijbssr ijbssr:ART ijbssr:RA … }, will use setSpec &set=ijbssr in tests

Checking ListIdentifiers response

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListIdentifiers&metadataPrefix=oai_dc&set=ijbssr GET

PASS responseDate has correct format: 2023-04-19T20:47:16Z

WARN Identifier 1, ‘oai:ojs2.ijbssrnet.com:article/3’, is for a deleted record, skipping

WARN Identifier 2, ‘oai:ojs2.ijbssrnet.com:article/4’, is for a deleted record, skipping

WARN Identifier 3, ‘oai:ojs2.ijbssrnet.com:article/7’, is for a deleted record, skipping

PASS Good ListIdentifiers response, extracted id ‘oai:ojs2.ijbssrnet.com:article/19’ for use in future tests.

Checking ListMetadataFormats response

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListMetadataFormats&identifier=oai%3Aojs2.ijbssrnet.com%3Aarticle/19 GET

PASS responseDate has correct format: 2023-04-19T20:47:16Z

PASS Good ListMetadataFormats response, includes oai_dc

PASS Data provider supports oai_dc metadataPrefix

Checking GetRecord response

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=GetRecord&identifier=oai%3Aojs2.ijbssrnet.com%3Aarticle/19&metadataPrefix=oai_dc GET

PASS responseDate has correct format: 2023-04-19T20:47:17Z

PASS Datestamp in GetRecord response (2023-03-24T20:03:06Z) has the correct form for seconds granularity.

PASS Datestamp in GetRecord response (2023-03-24T20:03:06Z) matched the seconds granularity specified in the Identify response.

PASS Expected setSpec was returned in the response (implied by a descendant setSpec)

Checking ListRecords response

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListRecords&from=2023-03-24T20:03:06Z&until=2023-03-24T20:03:06Z&metadataPrefix=oai_dc GET

PASS responseDate has correct format: 2023-04-19T20:47:17Z

PASS Response is well formed

PASS ListRecords response correctly included record with identifier oai:ojs2.ijbssrnet.com:article/19

### Checking exception handling (errors)

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?junk GET

PASS Error response correctly includes error code ‘badVerb’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=junk GET

PASS Error response correctly includes error code ‘badVerb’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=GetRecord&metadataPrefix=oai_dc GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=GetRecord&identifier=oai:ojs2.ijbssrnet.com:article/19 GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=GetRecord&identifier=invalid"id&metadataPrefix=oai_dc GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListIdentifiers&until=junk GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListIdentifiers&from=junk GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListIdentifiers&resumptionToken=junk&until=2000-02-05 GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListRecords&metadataPrefix=oai_dc&from=junk GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListRecords&resumptionToken=junk GET

PASS Error response correctly includes error code ‘badResumptionToken’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListRecords&metadataPrefix=oai_dc&resumptionToken=junk&until=1990-01-10 GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListRecords&metadataPrefix=oai_dc&until=junk GET

PASS Error response correctly includes error code ‘badArgument’

REQUEST https://ijbssrnet.com/index.php/ijbssr/oai?verb=ListRecords GET

The validation tests are not yet complete. Use your browser’s ‘reload’ facility to check the status again in a few minutes. If this message persists then contact simeon.warner@cornell.edu to report the problem. Be sure to include the URL of this page.

Hi @IJBSRR_Journal,

The PHP warnings have been fixed a couple of days ago, so it will be included in the next OJS release (3.3.0-15).

Best,
Jonas Raoni

This topic was automatically closed after 10 days. New replies are no longer allowed.