Package version (if known): latest
Steps to Reproduce
- Publish a record with an external DOI.
- Edit and remove DOI, re-publish.
- Create a new record and re-use the same DOI and save
- See error 'already exists'
On the other hand, if you replace the DOI with a new one, it will remove the old one from the PID table.
Expected behavior
The DOI should be made available for re-use once it is deleted (without replacement) from a record.