Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing : Deleting 'mef_persons' cause 'index_not_found' exception #601

Closed
zannkukai opened this issue Nov 7, 2019 · 0 comments
Closed
Assignees
Labels
developers From a developer point of view.

Comments

@zannkukai
Copy link
Contributor

Describe the issue
When trying to delete a document, then the system loop on each author of this document and determine if this author is 1) a mef_reference 2) has other document linked.
If not, the system try to delete this mef_reference from ES and that cause an "index_not_found" exception.

To Reproduce

  1. Login as system librarian
  2. Find a document with mef_author and this mef_author doens't have any other linked document. (in 2019-11-07 : the documents/228)
  3. Delete item linked to this documents to be able to delete the document
  4. Try to delete the document.
  5. An 'Error 500' should appears in debug console.

Software version
rero-ils 0.5.1

Screenshots
image

@zannkukai zannkukai added bug developers From a developer point of view. labels Nov 7, 2019
@zannkukai zannkukai self-assigned this Nov 7, 2019
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 14, 2019
* Fix indexer schema mapping for mef authorities
* Reforctoring of document listeners using MefPerson class
* Closes rero#601

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 14, 2019
* Fix indexer schema mapping for mef authorities
* Reforctoring of document listeners using MefPerson class
* Closes rero#601

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 14, 2019
* Fix indexer schema mapping for mef authorities
* Reforctoring of document listeners using MefPerson class
* Closes rero#601

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 15, 2019
* Fix indexer schema mapping for mef authorities
* Reforctoring of document listeners using MefPerson class
* Closes rero#601

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 18, 2019
* Firx mef person index suppression problem when a document is deleted
* Closes rero#601

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 18, 2019
* Fixes mef person index suppression problem when a document is deleted
* Closes rero#601

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 18, 2019
* Fixes mef person index suppression problem when a document is deleted
* Fixes redirection after document suppression
* Closes rero#601, rero#552

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit to zannkukai/rero-ils that referenced this issue Nov 18, 2019
* Fixes mef person index suppression problem when a document is deleted
* Fixes redirection after document suppression
* Closes rero#601, rero#552

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
zannkukai added a commit that referenced this issue Nov 26, 2019
* Fixes mef person index suppression problem when a document is deleted
* Fixes redirection after document suppression
* Closes #601, #552

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developers From a developer point of view.
Projects
None yet
Development

No branches or pull requests

1 participant