On Thu, Mar 6, 2014 at 5:31 PM, helix84 <heli...@centrum.sk> wrote: > On Thu, Mar 6, 2014 at 4:27 PM, Thanos Kyritsis <dj...@linux.gr> wrote: > >> I'm currently thinking of a different/faster "hack" to let you test it >> properly. I can add a php script on the same test Data Provider (i.e. >> oai/foobar.php) that upon request modifies the delete status (on and >> off) of that particular "item 2" (and its datestamp of course). You >> could then hit it with curl or something, make it re-appear on >> ListRecords, then hit it again with curl after a few minutes (will set >> it to deleted) and run the harvester. And so on, repeating the steps >> as you'd like in order to test it multiple times. >> >> How does that sound ? :) > > Sounds good. I hope I'll be able to do something with it, I mean get > DSpace to recognize the status and delete the item :)
Hello again, I've put that little script in place. It is located at: http://eclass30-test.gunet.gr/modules/oai/reqdel.php This script alternates the status of a particular item between deleted and not deleted, accordingly updating the datestamp as well. The particular item is this one: http://eclass30-test.gunet.gr/modules/oai/oai2.php?verb=GetRecord&metadataPrefix=oai_dc&identifier=8b1fcb90-872d-4d7d-a745-fbc37d4561b9 As you'll see, dspace 4.1 harvester processes the whole data provider as it should when the above item is not deleted. But when it is deleted, the collection ends up at "Internal Error" and the harvester stops processing it. At that point, if you try reseting the delete status of the item and the harvester status, that collection's harvesting will become functional, until another deletion comes forward. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette