<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div><div>With ArchivesSpace 1.0.7.1 using mysql, I Imported an EAD guide and then tried to delete it. </div><div><br></div><div>If I try to delete the collection from the View of Edit page, I get:</div><div><br></div><div><h1 style="font-size: 16px; color: rgb(255, 0, 0); line-height: 1.5em; font-family: arial, sans-serif; text-align: center; background-color: rgb(255, 255, 255); position: static; z-index: auto;">We're sorry, but something went wrong.</h1><div><br></div></div><div><br></div><div>If I try to delete my checking it in the browse page and clicking delete, I get:</div><div><br></div><div><span style="color: rgb(185, 74, 72); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; background-color: rgb(242, 222, 222);">Unable to delete records:</span><br style="color: rgb(185, 74, 72); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px;"><span style="color: rgb(185, 74, 72); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 20px; background-color: rgb(242, 222, 222);">["{\"error\":\"Record deletion failed: Java::ComMysqlJdbcExceptionsJdbc4::MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`archivesspace/archival_object`, CONSTRAINT `archival_object_ibfk_5` FOREIGN KEY (`parent_id`) REFERENCES `archival_object` (`id`))\"}\n"] [/repositories/2/resources/3719]</span></div><div><br></div><div>I was finally able to delete the collection only after individually deleting all of it’s components. </div><div><br></div><div>I tried with another install of 1.0.7.1 on my laptop, using the development db instead of mysql.</div><div>I imported EAD and then deleted the top level collection with no problem. </div><div>Then I reconfigured it to use mysql, and I get the same errors as above. </div><div><br></div><div>— Steve Majewski</div><div><br></div><div><br></div><div><br></div></body></html>