sul-dlss / argo

The administrative discovery interface for Stanford's Digital Object Registry
Other
20 stars 5 forks source link

Item metadata display shows old collection title after collection title was updated #4653

Open andrewjbtw opened 4 days ago

andrewjbtw commented 4 days ago

Describe the bug This collection title is:

Stanford Historical Society Oral History Program interviews, 1999-2013 (inclusive)

But items in the collection (like this one) are showing an old title:

Stanford Historical Society Oral History Program interviews, 1999-2022

I've tried reindexing the items but the title never changes. The incorrect title appears on at least the following pages:

User Impact It's misleading because it looks like the collection metadata hasn't been updated and can lead people to not find the collection they're looking for.

To Reproduce Steps to reproduce the behavior:

  1. Go to an item [like](https://argo.stanford.edu/view/druid:sb753ms8796
  2. Click on reindex
  3. See no change in title

Expected behavior Item titles should be updated when collection titles are updated.

lwrubel commented 1 day ago

I'm looking at this example druid now, and it shows Stanford Historical Society Oral History Program interviews, 1999-2013 (inclusive). So it must have eventually gotten the new display title. Some notes on where the info is coming from:

When I look at the solr document for the item, I see:

collection_title_ssim: [
"Stanford Historical Society Oral History Program interviews, 1999-2013 (inclusive)"
],
collection_title_tesim: [
"Stanford Historical Society Oral History Program interviews, 1999-2013 (inclusive)"
],

And the collection's solr document shows:

obj_label_tesim: [
"Stanford Historical Society Oral History Program interviews, 1999-2012"
],
...
display_title_ss: "Stanford Historical Society Oral History Program interviews, 1999-2013 (inclusive)",

Based on the code in collection_concert, it appears the collection name text used in the record is coming from the solr document's collection_title_ssim.

Looks like there are still some items faceted with the old name though.

Image

andrewjbtw commented 1 day ago

Yeah, I was going to come back and say that it seems to be slowly turning over to the new title.

andrewjbtw commented 1 day ago

I took this screenshot ~Tuesday~ Wednesday and there hasn't been much change since then:

Screenshot 2024-10-02 at 2 22 19 PM

When I filed the issue, they all had the title ending in 2022.