Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remediate missing release tags #4900

Open
justinlittman opened this issue Apr 19, 2024 · 5 comments
Open

Remediate missing release tags #4900

justinlittman opened this issue Apr 19, 2024 · 5 comments

Comments

@justinlittman
Copy link
Contributor

There was an error in the logic for creating ReleaseTags, such that if there were previously 0 release tags and a release tag was created, it was added to the cocina but a ReleaseTag was not created. This logic was in place for a temporary period from March 27 - April 16.

During most of this period, release worked correctly because release tags were added to the public cocina from the cocina when ReleaseTags were not present. However, for items which had release tags created during this temporary period but were released after the temporary period, release did not work correctly.

To identify the items with release tags that need remediation, the AuditReleaseTagMigration report was modified to return items for which the number of ReleaseTags was less than the number of release tags in the cocina.

See also https://github.com/sul-dlss/hydra_etd/issues/1628

@justinlittman
Copy link
Contributor Author

Here are the druids with problems:
problems.txt

@justinlittman
Copy link
Contributor Author

I've verified that the only ReleaseTags that exist for the problem druids are 5 created by Andrew for the ETDs for PURL sitemap. Therefore I will:

  1. Delete these ReleaseTags. (There will end up being PURL sitemap ReleaseTags after remediation.)
  2. For each druid, regenerate ReleaseTags from the cocina release tags.

@justinlittman
Copy link
Contributor Author

Following are the ETDs that need to be re-published and have MARC re-updated:
druid:rq574qj3855
druid:jv957fy9177
druid:kj403pf9573
druid:zn549sj5895
druid:dz688yd5162

@justinlittman
Copy link
Contributor Author

For each of these I reset the publish and update-marc workflow steps to "waiting".

@andrewjbtw
Copy link

andrewjbtw commented Apr 22, 2024

Those appear to be fixed now but when are release tags actually created for ETDs? I see 4 Registered ETDs currently that have no tags, but they might all just be at a point where the tags aren't supposed to exist yet:

https://argo.stanford.edu/catalog?f%5Bis_governed_by_ssim%5D%5B%5D=info%3Afedora%2Fdruid%3Abx911tp9024&f%5Bregistered_date%5D%5B%5D=days_30&f%5Breleased_to_searchworks%5D%5B%5D=never

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants