Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 8840a0c

Browse files
lgallgal
authored andcommitted
SORMAS-Foundation#3136 fixed concurrent modification exception
1 parent f8f07de commit 8840a0c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

sormas-backend/src/main/java/de/symeda/sormas/backend/sormastosormas/SormasToSormasFacadeEjb.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ public void shareCases(List<String> caseUuids, SormasToSormasOptionsDto options)
314314
}
315315

316316
entitiesToSend.add(entity);
317-
casesToSend.add(caze);
318317
contactsToSend.addAll(associatedContacts);
319318
}
320319

@@ -340,7 +339,6 @@ public void shareContacts(List<String> contactUuids, SormasToSormasOptionsDto op
340339
ContactDto contactDto = getContactDto(contact, pseudonymizer);
341340
contactDto.setSormasToSormasOriginInfo(createSormasToSormasOriginInfo(currentUser, options));
342341

343-
contactsToSend.add(contact);
344342
entitiesToSend.add(new SormasToSormasContactDto(personDto, contactDto));
345343
}
346344

0 commit comments

Comments
 (0)