EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06575
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Retire Item from Review
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Retire Item from Review
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Mon, 12 Jun 2017 20:29:32 +0000
Hi Tomasz, If you have a look at:
https://github.com/eprints/eprints/pull/324/commits * the changes use the 'datestamp' field to determine whether something appears in the OAI-PMH interface. The datestamp is set in EPrints::DataObj::EPrint::commit when (i) the datestamp is not set and (ii) when the eprint_status is 'archive'. Using the commits above, items in 'deletion' that have never been live should not get returned over OAI-PMH. Cheers John *the conversation on https://github.com/eprints/eprints/pull/324 is a bit muddled, as Patrick and I misunderstood what each
other was saying (we were both saying the same thing in the end!) From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Tomasz Neugebauer Thank you, John and Alan for the great answers! John’s solution worked perfectly, I added the role to the editor and that made the button appear for items in Review. Excellent. Do you think there
some set of triggers that I should be adding when retiring an item from Review?
Sometimes, editors need to retire an item because they need to archive a submission, but for one reason or another, it cannot be made live. In essence, the “Retired” items dataset is a “dark archive”.
Thank you also for flagging the issue of deleted items appearing in OAI-PMH. I believe that makes sense, deleted (destroyed) items really shouldn’t be showing up in the OAI_PMH sets – so if you
have a solution for that, it sounds like we could all benefit from it. Best wishes, Tomasz From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of John Salter Hi Tomasz, I don’t think it would break anything, but there aren't any default triggers that deal with a status change of e.g. inbox -> deletion (but you could add some). You might need to add a new role e.g. eprint/buffer/move_deletion:editor as I don’t think by default anyone would have permission to do this. I *think* that adding the above role would make a 'Retire item' button appear in the 'Actions' tab, as EPrints checks for the role when displaying the 'move' buttons. Cheers, John PS There's a similar thing I've added to our repository that stops people destroying an item when the datestamp is set. This is to help the OAI-PMH interface properly respond to deleted
items - if they are destroyed, they don't appear in the OAI-PMH interface, becoming 'zombie' records in a harvesters dataset. (I probably should add this to core!) From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Tomasz Neugebauer I noticed that the “Retire Item” button does not appear as an option for items in Review. Only items that are “Live” can be retired. Is that correct? Would it cause a problem to provide
the option to “Retire Item” directly from Review, without ever making it Live? Thanks! Tomasz |
- References:
- [EP-tech] Retire Item from Review
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] Retire Item from Review
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Retire Item from Review
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] Retire Item from Review
- Prev by Date: Re: [EP-tech] Retire Item from Review
- Next by Date: Re: [EP-tech] DataCite Doi Plugin
- Previous by thread: Re: [EP-tech] Retire Item from Review
- Next by thread: [EP-tech] IR-Stats not processing
- Index(es):