invenio icon indicating copy to clipboard operation
invenio copied to clipboard

oaiharvest: small size of the field oai_id varchar(40)

Open chokribr opened this issue 8 years ago • 1 comments

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.

chokribr avatar Mar 02 '17 09:03 chokribr

@tiborsimko @lnielsen @kaplun

chokribr avatar Jun 13 '17 12:06 chokribr