Option to Make Vandelay Queues Indestructible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Wishlist
|
Unassigned |
Bug Description
Certain Vandelay queues should not be deleted. The best example of this is the queue used by the MARC stream importer when importing records directly from OCLC. If staff manipulate this queue in the staff client either directly or by removing rejected or non-imported records, they can inadvertently or intentionally delete this queue. Doing so breaks the MARC stream importer until the queue is recreated or replaced with a new queue.
To avoid this issue, I propose adding a field to Vandelay queues to indicate that a queue should not be deleted. This could be enforced in the Evergreen code and in the database with a before delete trigger.
In order to delete such a queue, the field would have to be set false or null first and then the queue could be deleted.
description: | updated |