Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCRUM-4764 clean out error response for each entity in AGM load #1809

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ public class AffectedGenomicModelDTOValidator extends BaseDTOValidator {
@Inject
AgmSecondaryIdSlotAnnotationDTOValidator agmSecondaryIdDtoValidator;

private final ObjectResponse<AffectedGenomicModel> agmResponse = new ObjectResponse<>();
private ObjectResponse<AffectedGenomicModel> agmResponse = new ObjectResponse<>();

public AffectedGenomicModel validateAffectedGenomicModelDTO(AffectedGenomicModelDTO dto, BackendBulkDataProvider dataProvider) throws ValidationException {

agmResponse = new ObjectResponse<>();
oblodgett marked this conversation as resolved.
Show resolved Hide resolved
AffectedGenomicModel agm = null;
if (StringUtils.isNotBlank(dto.getPrimaryExternalId())) {
SearchResponse<AffectedGenomicModel> response = affectedGenomicModelDAO.findByField("primaryExternalId", dto.getPrimaryExternalId());
Expand Down
Loading