EPrints Technical Mailing List Archive

Message: #08938


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] How to delete succeeds-field?


Hi Thomas and Yuri,

I have just tested this on what will become the next version of EPrints (3.4.4) and I don't see any significant problems with an eprint where its predecessor (value in its succeeds field) has been fully deleted (not just retired), even though the succeeding eprint still has its succeeds field set with a now missing eprint ID.  Please could you give a bit more detail of the problems you are seeing when the succeeded eprint has been deleted, so I can make sure this issue does not still persist.  As part of 3.4.3, I made a change to the "EPrint Remove" screen plugin, which would require an additional permission:

eprint/remove_once_archived

to be assigned to a user or user type to allow them to delete (not just retire) an item that has at some point been in the live archive (i.e. has its datestamp field set).

On the solution to your current issue, I would always advise either using a script or temporarily modifying the eprint workflow so your user (or admin users more generally) can edit the succeeds field and in this case unset it.  Running database queries is obviously a lot quicker and easier to do but you don't have any traceability, which when you have had to deal with an unusual bug is often helpful if someone happens to review this at later date.

Regards

David Newman

On 19/05/2022 11:34, Yuri via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.

If all is ok, then you can just recreate the abstract.

Il 19/05/22 12:18, th.lauke--- via Eprints-tech ha scritto:
CAUTION: This e-mail originated outside the University of Southampton.
Hi all,

due to the fact, that EPrints obviously could not handle an entry, whose predecessor is gone for some reason, I like to delete the faulty link. But an import of an empty field is rejected :(
How to get rid of the link? I would be glad to avoid any manipulation of the data base :)

Many thanks for any idea in advance
Thomas

BTW: I will check how to get into this situation later ...

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/