Description
Describe the bug
When trying to delete an agent record without the initial warning that there is a delete blocker in place, the loading screen for checking for delete blockers runs for a couple of minutes before the delete blocker warning appears. Alternatively, when the delete button is not clicked, an error message appears after a few minutes.
Possible relation to #1748?
To Reproduce
Steps to reproduce the behavior:
- Go to the agent record without the initial delete blocker warning
- Click "Delete"
- Wait on loading screen for a few minutes
- Delete blocker warning then appears
Alternatively:
- Go to the agent record without the initial delete blocker warning
- Wait for a few minutes
- Error message appears:
Specify 7 Crash Report - 2022-09-27T21_19_20.759Z.txt
Expected behavior
Expected the agent record to be deleted if not referenced by a field. If referenced by a field, expected a delete blocker warning to appear initially before the deletion attempt.
Screenshots
An agent record without the delete blocker warning
When "Delete" button is clicked, the loading screen appears
After a couple of minutes, the delete blocker warning then appears
Console:
Console
Alternatively, when the "Delete" button is not clicked, the error message appears after a few minutes
Console:
Console
Desktop:
- OS: Windows 10
- Browser: Chrome
- Specify 7 Version: 7.7.3
Database Name: KUBirds
User: spbirdadmin
Specific record: Robbins, Mark
https://kubirds-v773-prerelease.test.specifysystems.org/specify/view/agent/1/
Reported By
Name of your institution
Additional context
Database name or any other context about the problem here.
Metadata
Metadata
Assignees
Type
Projects
Status