invenio
invenio copied to clipboard
oaiharvest: small size of the field oai_id varchar(40)
oaiharvest daemon in Invenio 1.2 truncate large oai_id such : oai:doaj.org/journal:e06909a59e31406ca9c670ed61de60de. which cause the fail of the update of the following fields : date_inserted ,id_bibrec , inserted_to_db by this function: https://github.com/inveniosoftware/invenio/blob/legacy/modules/bibupload/lib/bibupload.py#L2998
by increasing the size of the oai_id field it works, but i think changing the type of the field will be the optimal solution.
@tiborsimko @lnielsen @kaplun