Metadata problems with API in OJS


We’re investigating the API as part of our testing of
One issue we’re seeing is that the various metadata fields return as null rather than a locale key/value pair. We’re looking at discipline, subject, and type in this instance.
All the other content via the API that uses this type of pairing (e.g., title, abstract etc.) return as expected.
The data for these fields definitely exist in the database and do have the correct locale association.
Accessing these fields via the API may have a useful application for us going forward.

Does anyone have any suggestions that could fix this for me?
I’ve drilled through the code regarding the submission API and the related submission service and submission DAO but nothing useful has come from it.


Greig Christie
Information Systems Developer
University of Edinburgh Digital Library

Hi @craigendal,

I’ve filed this for attention over at Fix/verify metadata fields in API access · Issue #4994 · pkp/pkp-lib · GitHub – watch for updates there.

Alec Smecher
Public Knowledge Project Team