tethys.backend/app
Arno Kaimbacher 9c0221ce27 fix: repair related_document_id for version references
Add `fix:version-related-ids` ace command to backfill and correct
related_document_id on IsNewVersionOf / IsPreviousVersionOf references,
resolving the target dataset via its DOI. Handles both NULL and
self-referential (wrong) values that the existing detect command could
not repair.

Make the dataset version-chain API DOI-based: resolve previous/newer
versions through the DOI in the reference value instead of the
unreliable related_document_id, so the chain is correct regardless of
the stored FK.
2026-06-09 14:23:06 +02:00
..
Controllers/Http fix: repair related_document_id for version references 2026-06-09 14:23:06 +02:00
controllers feat: Enhance Dataset Edit Page with Unsaved Changes Indicator and Improved Structure 2025-10-29 11:20:27 +01:00
exceptions Squashed commit of the following: 2026-06-09 09:35:15 +02:00
Library Squashed commit of the following: 2026-06-09 09:35:15 +02:00
middleware - small adaption for OpenAire inside OaiController.ts 2024-07-26 14:51:57 +02:00
models feat: Enhance background job settings UI and functionality 2025-10-14 12:19:09 +02:00
services Squashed commit of the following: 2026-06-09 09:35:15 +02:00
utils Squashed commit of the following: 2026-06-09 09:35:15 +02:00
validators Squashed commit of the following: 2026-06-09 09:35:15 +02:00