opensupplyhub / open-apparel-registry

An application for searching, matching, uploading factories.
MIT License
32 stars 13 forks source link

Delete Facility Errors #1926

Open vrwOAR opened 2 years ago

vrwOAR commented 2 years ago

Overview

When attempting to delete the test facilities from Textile Exchange's API push, ticket #1870; an error is being returned for 34 of the 50 facilities identified.

Expected Behavior

From the admin dashboard, you select the Delete a Facility option. Once you've entered the ID and searched the database. You click delete and approve the deletion. From there the facility should be deleted and a confirmation message pop-up will be displayed.

Actual Behavior

From the admin dashboard, you select the Delete a Facility option and enter the ID for deletion. Once you click delete and approve the deletion, the system processes but the deletion is not completed. Instead, an error message is returned "An error prevented deleting that facility". Image: image

Steps to Reproduce

Demo

List of delete errors

Additional context

mariel-oar commented 2 years ago

@obrienad, can this be closed along with the #1992? (i think the solution for 1992 covers this)