opensrp / openmrs-module-team

Other
1 stars 5 forks source link

Remove null entries in Existing Person search results #48

Closed allan-on closed 4 years ago

allan-on commented 4 years ago

The Existing Person search returns the details of the user but in addition, it does return some null values. This results in an error Uncaught TypeError: Cannot read property 'display' of null which happens when going through the results to get the person's UUID for a person whose name is selected. All the results are being looped through and the error is thrown when attempting to iterate through the null values. The exception breaks adding new team members to a team.


Uncaught_type_error