yalelibrary / YUL-DC

Preliminary issue tracking for Yale University Libraries Digital Collections project
3 stars 0 forks source link

[ASpace Linking] Changed Title Not Updating in ASpace Digital Object Record #2122

Closed sshetenhelm closed 2 years ago

sshetenhelm commented 2 years ago

Story The title of an archival object was updated in ArchivesSpace. Running the 'update metadata' process via the Management App updated the object's title in DCS/Blacklight. However, the title was not updated on the Digital Object in ArchivesSpace.

I would like the ASpace Digital Object title to update when an object's title updates.

Example Parent OID 10016167 in Blacklight Parent OID 10016167 in UAT 10016167 ArchivesSpace Record Screenshot of link in ASpace with different titles: Screen Shot 2022-06-06 at 1.27.33 PM.png

Testing Notes I tried to process this using the processURI in Metadata Cloud, but received an error: Mon Jun 06 13:29:21 EDT 2022 There was an unexpected error (type=Internal Server Error, status=500). could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.DataException: could not execute statement

martinlovell commented 2 years ago

@sshetenhelm I think this was caused by a mismatch between UAT and test aspace config for the file_version use_statements. Please verify: https://puitestarchivesspace.library.yale.edu/repositories/12/archival_objects/1007426

sshetenhelm commented 2 years ago

For this, now I'm seeing the Image Label of the first child in the 'Click to Access Online' box and not the title of the object as a whole. I do see the updated title as the title of the digital object record itself.

Screen Shot 2022-06-09 at 1.12.58 PM.png Screen Shot 2022-06-09 at 1.13.52 PM.png

martinlovell commented 2 years ago

We pass the thumbnail label to archive space as the thumbnail file_version's caption and a generic caption (eg '5 images') for the iiif file version, and not the title of the ParentObject itself.

Aspace must use the thumbnail file_version's caption as the text for the link.

Should we adjust what we pass as the thumbnail file_versions caption in the DO?

sshetenhelm commented 2 years ago

@ucancallmealicia @fordmadox Do you have thoughts on what should be should in the link?

sshetenhelm commented 2 years ago

Confirming that the current behavior is how we would like this feature to work. Looks good!

motropuk commented 2 years ago

@ucancallmealicia @sshetenhelm @martinlovell If I am reading this correctly, the title under the thumbnail link here https://puitestarchivesspace.library.yale.edu/repositories/12/archival_objects/1007426 should be reading 1:20 Street Hall [EDIT]. Its still showing us [EDIT] Watercolor rendering of the southeast elevation of the Yale School of the Fine Arts by Peter B. Wight. Do we just need to rerun the sync to pull in the update?