Restream/redmine_elasticsearch

Page not found error when deleting a project

Opened this issue · 0 comments

  1. In the admin/Project page of Redmine, delete a project (bin icon)
  2. Confirm the delete action with Yes
    -> We have a page not found error

This is due to /app/elastic/project_search async_update_index method, in which the ParentProject.find(id) call fails and raises an Fatal exception, because the project with id just got deleted.
a rescue ActiveRecord::RecordNotFound in that method would be welcome.