Closed wickr closed 11 months ago
QA Steps:
Exported cw-furlong collection (28 works). Blank fields are still included in the export.
QA pass. (initial QA was on prod site only, not staging)
Created 2 exporters on staging: https://staging.oregondigital.org/exporters/14?locale=en https://staging.oregondigital.org/exporters/15?locale=en
Both CSVs had only columns that contained data. folder_number
appeared correctly in one exported CSV but not the other.
Descriptive summary
@sarahfish07 noticed our CSV exports contain some fields/columns even if they have no relevant data in the export:
first_line first_line_chorus full_text (may need to be added to bulkrax reserved fields) gps_latitude gps_longitude identification_verification_status military_highest_rank object_orientation original_filename photograph_orientation resolution specimen_type
The fields that are marked in the crosswalk.yml as
multiple: false
then don't get thesplit
value in the field mapping. Then the CSV processor includes those fields whether there is data or not. Field mapping sample from scarc-test exporter (id: 14)Expected behavior
Export CSVs only contain headers and columns when data is present in the export.
Related work
Link to related tickets or prior related work here.
Accessibility Concerns
Add any information here to indicate any known or suspected accessibility issues for this ticket