Closed rschwab closed 2 years ago
@rschwab the acceptance criteria includes criteria for single valued fields, but I'm not actually seeing any single valued fields in the metadata schema. Do you have any recommendations for testing this?
Wow you're right. Publisher was single valued but that's been commented out. I guess we'll skip this requirement for now, since there's no great way to test it.
Documentation for this has been added to the Bulkrax Wiki: link
@rschwab All my testing with this revealed no bugs, so I've gone ahead and pushed this back to Sandbox QA. Using the new documentation in the Bulkrax Wiki, can you test this when you get the chance?
I just tested and this is still an issue. Imported using numerated columns with one value for genre deleted (see screenshot). After running this import, the two values are still present on the work, and present in the exporter created from the importer.
This works on sandbox now. Test data attached. test_521.csv Removed the value for genre_1 and the metadata on the importer has been updated successfully (the value is deleted). Exported csv also does not have the deleted value. importer : http://digitalcollections-staging-sandbox.library.ucsc.edu/importers/120?locale=en exporter : http://digitalcollections-staging-sandbox.library.ucsc.edu/exporters/8?locale=en @rschwab We can close this if the above QA desc makes sense to you. Thanks.
I just tested and this is still an issue. Imported using numerated columns with one value for genre deleted (see screenshot). After running this import, the two values are still present on the work, and present in the exporter created from the importer.
This ended up being an issue with controlled fields specifically due to special behavior coming from ScoobySnacks. With the changes from this PR, all controlled fields should now behave the same when importing/exporting as other non-controlled fields
Descriptive Summary
As an admin user, I want to be able to use Bulkrax to delete values from fields.
Acceptance Criteria
This is what done looks like
Expected Behavior
When using numerated columns in an import, if the cell is blank the value should be deleted.