Skip to content

Modified find project method to return nil if project not found

Chantal Rollison requested to merge ccr/5300/elasticsearch_index into master

What does this MR do?

Files that belong to nonexistent projects get silently ignored.

Why was this MR needed?

To prevent the nonexistent files from showing up in search.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #5300 (closed) - 404 error from the search controller when the elasticsearch index is out of date

Edited by Chantal Rollison

Merge request reports