Implementing :withdraw_identifier as an before_destroy callback on the remotely_identified_by_doi concern.
This passes if off to a worker to work around any errors with API availability. API availability is not handled elsewhere in the app, but we wanted to make sure the UX wasn't disrupted by the error.
Coverage increased (+0.02%) to 95.896% when pulling 9e8f4c01787df35d94a4b2203c72f421caa97dfc on bug/1903-delete-doi into 2d3aa0b2aff07a91b4126d36141ddf7bcde7da39 on develop.
Closes #1903
Implementing
:withdraw_identifier
as anbefore_destroy
callback on theremotely_identified_by_doi
concern.This passes if off to a worker to work around any errors with API availability. API availability is not handled elsewhere in the app, but we wanted to make sure the UX wasn't disrupted by the error.
Worker failures will collect any errors.