clarin-dspace icon indicating copy to clipboard operation
clarin-dspace copied to clipboard

OAIIndexEventConsumer does not reflect changes

Open kosarko opened this issue 9 years ago • 1 comments

non discoverable items should disappear from oai; they do if you run the import, but the event consumer does not reflect this.

kosarko avatar Apr 28 '15 09:04 kosarko

by @cyplas:

Ok, I reproduced this now on our test server (fado):

  • create a new submission ---> new handle: 11356/1160
  • visit https://*/repository/oai/cite?metadataPrefix=cmdi&handle=11356/1060 ---> "The given id does not exist"
  • make rebuild_oai
  • visit https://*/repository/oai/cite?metadataPrefix=cmdi&handle=11356/1060 ---> showed item
  • Edit item > Permanently delete > Delete
  • visit https://*/repository/oai/cite?metadataPrefix=cmdi&handle=11356/1060 ---> showed item
  • make update_oai
  • visit https://*/repository/oai/cite?metadataPrefix=cmdi&handle=11356/1060 ---> showed item
  • make rebuild_oai
  • visit https://*/repository/oai/cite?metadataPrefix=cmdi&handle=11356/1060 ---> "The given id does not exist"

So it looks like the listener didn't work, and that update_oai is not enough for this, but rebuild_oai works.

kosarko avatar Jun 12 '18 07:06 kosarko