Skip to content

Conversation

@alycejenni
Copy link
Member

This fixes the landing pages for DOIs that query resources that were previously in the datastore but have since been removed and exist only as "raw" files.

This should be a very small minority of cases, but is worth covering just in case.

Rarely, resource data may get deleted from the datastore, but the resource itself is still accessible as a raw file. This fix covers that eventuality, and also adds a resource breakdown for missing data (where possible) on the landing page.

This does rely on datastore_active being set properly, mostly for speed reasons.

Closes: #66
This should be a rare occurrence, but in case a resource has been removed from the datastore, this prevents errors in any v0 query DOIs (and also still provides links).
@alycejenni alycejenni merged commit 8133006 into dev Nov 13, 2025
5 checks passed
@alycejenni alycejenni deleted the ginger/non-datastore branch November 13, 2025 09:07
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.

2 participants