uclibs / scholar_uc_legacy

Source code for Scholar@UC up to version 3.x. Replaced by ucrate
Other
5 stars 1 forks source link

Set DOI status after work deletion #1920

Closed jamesvanmil closed 6 years ago

jamesvanmil commented 6 years ago

Closes #1903

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.

Worker failures will collect any errors.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.02%) to 95.896% when pulling 9e8f4c01787df35d94a4b2203c72f421caa97dfc on bug/1903-delete-doi into 2d3aa0b2aff07a91b4126d36141ddf7bcde7da39 on develop.