artefactual / artefactual/atom
Problem: EventActors ingested via CSV is linking to Donor record rather than Authority record.
- Dominant language
- PHP
- Stars
- 297
- Forks
- 152
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 3
Description
### Current Behavior
**Steps to reproduce the behavior**
1. Smith, John was added as a donor via the accessions module at some point in the last year.
2. At a later date Smith, John was given a name authority access point for use as part of an archival description.
3. A CSV file of descriptions which included Smith, John as the photographer of several item level descriptions was ingested.
4. Clicking on the Smith, John from the Dates of Creation field or the Access points options at the bottom of the description loads the Accession module authority for Smith, John.
5. Editing the descriptive record to remove Smith, John as the photographer and then adding it again from the list of name authority access points in the pull down menu remedies the problem.
### Expected Behavior
Ingesting archival descriptions using a CSV file should associated any existing name access authorities in the descriptive database rather than accession module authorities.
### Possible Solution
Unclear (to me).
### Context and Notes
All the records linking to the accession authority need to be manually edited to ensure they point to the intended authority. We don't know how many others have this same issue - I hit on the problem serendipitously because I wanted to make an edit to the authority and opted to access it from the descriptive record I had just ingested.
### Version used
AtoM 2.9.1
### Operating System and version
_No response_
### Default installation culture
_No response_
### PHP version
_No response_
### Contact details
danielle.robichaud@uwaterloo.ca
Contributor guide
Research direction
Start by reproducing the issue with a CSV description that references an existing person who has both a donor record and a name authority access point. Trace how CSV ingestion resolves EventActors, then verify that the descriptive record links to the existing name authority rather than the accession authority and confirm the affected links no longer require manual correction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100