When importing chants via the admin interface or import_data chants, the
importer may fail or silently drop data for some manuscripts. The field names
expected by cantusdata/helpers/chant_importer.py do not consistently match
the column headers present in CantusDB's CSV exports
(https://cantusdatabase.org/sites/default/files/csv/{id}.csv).
Steps to reproduce:
- Follow the local setup instructions in the README
- Import a manuscript and attempt to import its chants via the admin interface
- Observe errors or incomplete chant data depending on the manuscript
Expected behaviour: All fields present in the CantusDB CSV are correctly
parsed and stored.
Notes: This likely requires comparing the current importer field mappings
against a sample of real CantusDB CSV exports to identify which columns are
missing or misnamed. The affected manuscripts and specific mismatched fields
should be documented as part of the fix.
When importing chants via the admin interface or
import_data chants, theimporter may fail or silently drop data for some manuscripts. The field names
expected by
cantusdata/helpers/chant_importer.pydo not consistently matchthe column headers present in CantusDB's CSV exports
(
https://cantusdatabase.org/sites/default/files/csv/{id}.csv).Steps to reproduce:
Expected behaviour: All fields present in the CantusDB CSV are correctly
parsed and stored.
Notes: This likely requires comparing the current importer field mappings
against a sample of real CantusDB CSV exports to identify which columns are
missing or misnamed. The affected manuscripts and specific mismatched fields
should be documented as part of the fix.