AndyGrant/OpenBench

Deleting Machines from the database causes a deadloop

Opened this issue · 0 comments

Expected behavior after cleaning up the Database via the lines below, is to trigger a bad machine id error on the client, prompting a reassignment of ids, and then resuming the usual workflow.

from OpenBench.models import Machine
Result.objects.all().delete()
Machine.objects.all().delete()
LogEvent.objects.all().delete()
PGN.objects.filter(processed=True).delete()