Open jma opened 2 years ago
serialize_oaipmh serializer (https://github.com/inveniosoftware/invenio-records-rest/blob/82dc6e086fbd616a8d9676874ca08d39033f6108/invenio_records_rest/serializers/dc.py#L56) causes a crash of invenio-oaiserver.
invenio-oaiserver
invenio-oaiserver has been change, the serializer is called with a python dict instead of a Record instance.
dict
Record
This serializer should be updated in a similar way than invenio-rdm: https://github.com/inveniosoftware/invenio-rdm-records/blob/89e63fe293a28204f678a0de81f2e2614943b800/invenio_rdm_records/resources/serializers/dublincore/__init__.py#L36
invenio-rdm
Describe the bug
serialize_oaipmh serializer (https://github.com/inveniosoftware/invenio-records-rest/blob/82dc6e086fbd616a8d9676874ca08d39033f6108/invenio_records_rest/serializers/dc.py#L56) causes a crash of
invenio-oaiserver
.invenio-oaiserver
has been change, the serializer is called with a pythondict
instead of aRecord
instance.This serializer should be updated in a similar way than
invenio-rdm
: https://github.com/inveniosoftware/invenio-rdm-records/blob/89e63fe293a28204f678a0de81f2e2614943b800/invenio_rdm_records/resources/serializers/dublincore/__init__.py#L36