UCSCLibrary / dams_project_mgmt

DAMS purpose is to provide access to digitized and born-digital UCSC Special Collections content. This repository is used for project planning. It holds the task tickets and roadmap for the different projects under DAMS.
2 stars 0 forks source link

Add ability to import child and parent relationship #495

Closed crisr15 closed 2 years ago

crisr15 commented 2 years ago

Summary

The UCSC data uses many child and parent relationships. Enable child parent relationships in the CSV parser.

Acceptance Criteria

1 To test this, create a Collection and Work through the UI and use their IDs in the CSV

Testing Instructions

For additional information re: importing relationships, refer to the Bulkrax documentation

  1. Download this CSV2: i3_qa_2_edit.csv
  2. Login as an admin
  3. Navigate to Dashboard --> Importers --> New
  4. Fill out all of the importer's required fields. Upload the file from Step 1. Click "Create and Import"
  5. After no more than 3 minutes (assuming no other importers are running), check to see if the records were created with the proper relationships using the Acceptance Criteria

2 This CSV should satisfy most of the Acceptance Criteria, but will require changes to test the following acceptance criteria:

  • Relationships can be imported using IDs1
  • Multiple relationships can be defined on a single record by... Adding a numerated suffix to the column header (i.e. parent_1, parent_2)

Additional Information

PR in client's repo: https://github.com/UCSCLibrary/ucsc-library-digital-collections/pull/219