dataquest-dev / dspace-import

Blackbox tests for dspace repository
Other
0 stars 2 forks source link

incorrect mapping between bitstreamforamt and fileextension #157

Closed Paurikova2 closed 6 days ago

Paurikova2 commented 2 months ago

We have two tables:

The mapping between these tables is by bitstreamformatregistry id. The attribute short_description is unique.

Problem: In DSpace 7, new records were added to the bitstreamformatregistry table. We imported bitstreamformatregistry but without fileextensions. If data already exists in the database (short_description is not unique), the database throws an exception and we log the info. However, there are records where short_description values differ only in lower/upper case.

Problems: Records in bitstreamformatregistry are imported without fileextensions.

Question:

Test: We need to validate the mapping, not only the id, but all columns must be correct because of the implicitly imported data!