Skip to content

Draft DOIs refuse to be deleted, then seems like deleted, but still appear listed #924

@yarikoptic

Description

@yarikoptic

NB was earlier reported by @djarecka via email to the support and was told to be resolved. Seems to persist. Filing an issue to keep better track of it.

Testing on the test fabric since we do not use (yet) Draft DOIs on the main one.

Looking at https://doi.test.datacite.org/repositories/dartlib.dandi/dois?state=draft shows record for the 10.80507/dandi.000270/0.0.0 . When we try to delete , seems to reaction to clicking Delete button -- JS console shows errors like Error: Ember Data Request DELETE https://api.test.…ndor-74ada85f781a3f196133a4028799ef0b.js:5153:19 and 404s. Going back 1 item to DOI page, says it is 404. Going back to listing -- it is still there and we could again get to its record.

It is a very odd behavior.

Here is some screenshot video: http://www.oneukrainian.com/tmp/20250307-datacite-delete2.mp4

and it seems that it is indeed deleted according to API:

In [4]: requests.delete(f"https://api.test.datacite.org/dois/10.80507/dandi.000270/0.0.0",auth=("DARTLIB.DANDI",
   ...:  os.environ["DATACITE_DEV_PASSWORD"]),)
Out[4]: <Response [404]>

but it is still listed in the list ... feel like some caching issue that it does not reflect deletions or smth like that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions