Skip to content

Conversation

@aelkiss
Copy link
Member

@aelkiss aelkiss commented Jan 7, 2026

Deleted record stubs were added to the catalog to support returning info about deleted records in OAI. While they were excluded from search results, going directly to a record with a deleted ID returned an error from the catalog. This is especially a problem when there is a redirect to another catalog ID. This ensures that deleted records redirect properly when a redirect exists, and return an appropriate 404 page otherwise.

  • Exclude records where deleted:true when getting a record by ID
  • Test for this behavior with & without a record with old_ids including the deleted record ID

Deleted record stubs were added to the catalog to support returning info
about deleted records in OAI. While they were excluded from search
results, going directly to a record with a deleted ID returned an error
from the catalog. This is especially a problem when there is a redirect
to another catalog ID. This ensures that deleted records redirect
properly when a redirect exists, and return an appropriate 404 page
otherwise.

* Exclude records where deleted:true when getting a record by ID
* Test for this behavior with & without a record with old_ids including
  the deleted record ID
@aelkiss aelkiss requested a review from moseshll January 7, 2026 16:59
@aelkiss
Copy link
Member Author

aelkiss commented Jan 7, 2026

@moseshll I think we can review this but let's wait to merge & deploy until #105 is merged.

Copy link
Contributor

@moseshll moseshll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Playwright good. I hacked around with Solr admin locally so I could see these additional records in action, and I'm happy with the results.

@aelkiss aelkiss marked this pull request as ready for review January 8, 2026 15:04
@aelkiss
Copy link
Member Author

aelkiss commented Jan 8, 2026

We'll go ahead and get this deployed now.

@aelkiss aelkiss merged commit cf04b22 into main Jan 8, 2026
2 checks passed
@aelkiss aelkiss deleted the ETT-829-deleted-records branch January 8, 2026 15:19
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

Successfully merging this pull request may close these issues.

3 participants