As part of the BrAPI field import process a germplasm search call is made and the results are used to populate the pedigree and synonyms attributes for display on the collect page. When the search call responds with a searchResultDbId and a GET call is made to get the results by Field Book, if the results are not ready by the time the first call is made they will not be imported. This seems to be because the retry logic in Field Book is not handling that case properly and is only making the single request. Problem seems to be in the BrAPIServiceV2::executeBrapiSearch while loop exiting before it should.
Description
As part of the BrAPI field import process a germplasm search call is made and the results are used to populate the pedigree and synonyms attributes for display on the collect page. When the search call responds with a searchResultDbId and a GET call is made to get the results by Field Book, if the results are not ready by the time the first call is made they will not be imported. This seems to be because the retry logic in Field Book is not handling that case properly and is only making the single request. Problem seems to be in the
BrAPIServiceV2::executeBrapiSearch
while loop exiting before it should.Expected behavior
No response
Field Book version
No response