Open pascalmfrey opened 7 years ago
@alpascal this is because the bacteria has mappings with
the database is designed to refuse deletion of a bacteria if there are such «mappings». you can delete the «resistance substanceClass» & «resistance» entries with bacteria «x» first, and then delete the bacteria. also we could discuss if this restriction makes sense, deleting a bacteria should resolve in deleting corresponding data.
@eventEmitter how is it configured in the new db?
Tried to delete a bacteria in the backoffice (all the MRSA, ESBL and KPC add-on species names that are non species - sorry for doing that in the first place - have to go) I couldn't do so because of a <<The server returned a "500 Internal Server Error">> Error. Is there a work-around?