scientist-softserv / britishlibrary

Other
3 stars 0 forks source link

DOI URL mixup #504

Open grahamjevon opened 9 months ago

grahamjevon commented 9 months ago

I added two works to the BL tenant and minted DOIs. The DOIs have the correct BL prefix and appear in the expected BL datacite account.

However, the DOIs do not resolve to the expected work url in the repository. They both resolve to different tenants (one in bl-demo and one in sciencemuseumgroup). The url has the correct hyku ID but the wrong tenant prefix).

https://bl.iro.bl.uk/concern/datasets/4387326c-1582-4d40-8d4d-86ed9677d6a7

https://bl.iro.bl.uk/concern/datasets/1a677294-cbd3-4bc0-b714-d3bbfd2a6da1

I can manually edit the url in Fabrica to resolve this. But any ideas as to what caused this?

j-basford commented 9 months ago

We've definitely seen this before; it was so intermittent it was hard to test. Not sure if @cziaarm remembers as it was ages ago...

grahamjevon commented 9 months ago

I remember a similar issue. But in that instance it was the DOI tenant datacite prefix that got mixed up rather than the url domain name.

grahamjevon commented 6 months ago

Difficult to test as difficult to replicate the error. DOIs are minting as expected though, so the fix has not obviously broken anything.