Ticket #802 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

admin article delete function leaves articles in an inconsistent state on failure

Reported by: russ Assigned to: alex
Priority: high Milestone:
Component: ambra Version: 0.8.2.1-SNAPSHOT
Keywords: admin Cc:
Blocking: Blocked By:

Description

howdy!

if article delete via admin hits an error, it seems to leave the article in an inconsistent state, requiring manual delete from mulgara (via runitql) and fedora (via fedora-purge)

specifically, multiple article state triples are entered in mulgara for the article and it's assets - it is marked as both published and unpublished at the same time.

on future attempts to delete or ingest, we get an error like this:

Error ingesting: pone.0000000.zip - org.topazproject.otm.OtmException: Too many values for 'private java.lang.String org.plos.models.DublinCore.description'

i suspect that something is failing to rollback.

the kinds of errors i'm seeing are permissions based - the file in the ingested queue is not writeable by topaz, or the related crossref XML file is missing and cannot be deleted.

it would also be nice to get an error on the admin page if delete runs into trouble - production staff is reporting that they see no errors when this happens.

thanks!

Dependency Graph

Change History

04/28/08 09:29:08 changed by alex

  • status changed from new to assigned.
  • blocking changed.
  • blockedby changed.

06/12/08 10:56:01 changed by amit

  • status changed from assigned to closed.
  • resolution set to fixed.

This should be fixed now in 0.9 code.