Closed sjanssen2 closed 7 years ago
@EmbrietteH @josenavas @wasade please review this PR which addresses the bug with the rendering of animal samples.
Problem was that all old animals where also present with the same participant name as humans (which doesn't make sense). Only lately added animals did not have human versions. Since rendering relied on human information, it failed for those newer animals.
I cannot add useful unit tests, since we don't have a DB with animal or secondary surveys. Thus, coverage decreases.
only had 1 minor comment
ready to merge @wasade ?
ping @josenavas ping @mortonjt
Thanks guys!
Fix for: An error message is popping up when participants try to access the participant profile for their animal samples. We have tried on the test account as well and find the same error when hovering over Animal Samples --> clicking animal participant profile. Just wanted to give you a heads up!