Skip to content

fix(doi link): rely on API links to display correct DOI link per record version#3356

Merged
fenekku merged 1 commit intoinveniosoftware:masterfrom
fenekku:fix_datacite_test_link_in_versions
Mar 9, 2026
Merged

fix(doi link): rely on API links to display correct DOI link per record version#3356
fenekku merged 1 commit intoinveniosoftware:masterfrom
fenekku:fix_datacite_test_link_in_versions

Conversation

@fenekku
Copy link
Copy Markdown
Contributor

@fenekku fenekku commented Mar 6, 2026

This is really to fix DOI links of versions in environment where
DATACITE_TEST_MODE = True . In that case, the visible DOI links have to be to https://handle.test.datacite.org/<prfix>/<suffix> and not https://doi.datacite.org/<prefix>/<suffix>.

On our side the reported problem is well captured by this screenshot where green circles are good but red circles were bad:

image

[edit]
The citation problem is fixed by inveniosoftware/invenio-rdm-records#2269

…rd version

This is really to fix DOI links of versions in environment where
`DATACITE_TEST_MODE = True` .
@fenekku fenekku added Backport bug Something isn't working labels Mar 6, 2026
@fenekku
Copy link
Copy Markdown
Contributor Author

fenekku commented Mar 6, 2026

When merged, I will backport to v13

@fenekku fenekku requested a review from max-moser March 6, 2026 15:42
@fenekku
Copy link
Copy Markdown
Contributor Author

fenekku commented Mar 6, 2026

Actually wait on this. I will also fix the citation link.

@fenekku fenekku changed the title fix(doi link): rely on API links to display correct DOI link per record version [WIP] fix(doi link): rely on API links to display correct DOI link per record version Mar 6, 2026
@fenekku
Copy link
Copy Markdown
Contributor Author

fenekku commented Mar 6, 2026

Actually the fix for the citation will be in invenio-rdm-records (and it's hard to make it nice, so will take more time and I will put it on the backburner).

This can be reviewed.

@fenekku fenekku changed the title [WIP] fix(doi link): rely on API links to display correct DOI link per record version fix(doi link): rely on API links to display correct DOI link per record version Mar 6, 2026
@fenekku fenekku added this to v14 Mar 6, 2026
@fenekku fenekku moved this to 👀 In review in v14 Mar 6, 2026
Copy link
Copy Markdown
Contributor

@max-moser max-moser left a comment

Choose a reason for hiding this comment

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

thanks!

@fenekku fenekku merged commit 5e09887 into inveniosoftware:master Mar 9, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from 👀 In review to To release 🤖 in v14 Mar 9, 2026
@fenekku fenekku deleted the fix_datacite_test_link_in_versions branch March 9, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport bug Something isn't working

Projects

Status: To release 🤖

Development

Successfully merging this pull request may close these issues.

2 participants