Details
-
Bug
-
Status: Ready for Work
-
Should
-
Resolution: Unresolved
-
None
-
None
-
None
-
Low
-
Description
If a patient is deleted and Lucene isn't reindexed, patientSearchWidget will crash, leaving a spinning wheel on the screen and an error in the dev console.
This happens because the API returns a result for that deleted person (presumably with the data from Lucene), but when it doesn't find database entries for that person it simply puts in `null`. An error is thrown when the frontend attempts to reference a property of that null object.
Instead, the server should exclude the search result and log an informative WARNING (including patient ID and a suggestion to reindex Lucene).
Gliffy Diagrams
Attachments
Issue Links
- is related to
-
TRUNK-425 Use Hibernate Search with Apache Lucene for Patient Searches
-
- Closed
-