Thank you, Adan and Genevieve. It's good to know I'm not alone. There's definitely a bug waiting to be filed here, though I'm not sure on which component!
In this case the item seems to be in pre-submitted state (in the workspaceitem table). After deleting the item's bitstream in the XMLUI and running `dspace cleanup -v` to remove it from the assetstore, I removed the item via SQL: dspace=# DELETE FROM metadatavalue WHERE resource_id=74648; dspace=# DELETE FROM workspaceitem WHERE item_id=74648; dspace=# DELETE FROM item WHERE item_id=74648; Are there any other tables where I should look to completely remove this item from the database? Regards, On Wed, May 1, 2019 at 2:00 AM <[email protected]> wrote: > Hi Alan, > > Just to be sure are they in a workflow currently? You should be able to > match the item_id's with the workflowitem table, also check that they > aren't in the pre-submitted state i.e. the workspaceitem table.. > > Regards, > > Genevieve > > On Tuesday, April 30, 2019 at 5:15:35 PM UTC+10, Alan Orth wrote: >> >> Dear list, >> >> I have discovered some items in my repository that are in some weird >> state. They don't have handles, don't appear in any collections, are NOT in >> the archive, and I can't delete them. I've tried to "permanently delete" >> them via the XMLUI admin interface as well as "expunge" them by CSV >> metadata upload action, but they are still present. >> >> Has anyone run into this issue before? Aside from the fact that these >> items are in some weird limbo state, they are actually causing the REST >> API's /items/find-by-metadata-value endpoint to throw an exception because >> the anonymous user doesn't have permission to read some of these items that >> are returned as having a metadata match (see my message last week on this >> list regarding that). >> >> Thank you, >> >> -- >> Alan Orth >> [email protected] >> https://picturingjordan.com >> https://englishbulgaria.net >> https://mjanja.ch >> "In heaven all the interesting people are missing." ―Friedrich Nietzsche >> > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- Alan Orth [email protected] https://picturingjordan.com https://englishbulgaria.net https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
