diff --git a/core/src/main/java/org/hisp/dhis/android/core/enrollment/internal/EnrollmentImportHandler.java b/core/src/main/java/org/hisp/dhis/android/core/enrollment/internal/EnrollmentImportHandler.java index 718f14accf..081de35cca 100644 --- a/core/src/main/java/org/hisp/dhis/android/core/enrollment/internal/EnrollmentImportHandler.java +++ b/core/src/main/java/org/hisp/dhis/android/core/enrollment/internal/EnrollmentImportHandler.java @@ -103,7 +103,7 @@ public void handleEnrollmentImportSummary(List enrollme String enrollmentUid = enrollmentImportSummary == null ? null : enrollmentImportSummary.reference(); if (enrollmentUid == null) { - break; + continue; } State state = getState(enrollmentImportSummary.status()); diff --git a/core/src/main/java/org/hisp/dhis/android/core/event/internal/EventImportHandler.java b/core/src/main/java/org/hisp/dhis/android/core/event/internal/EventImportHandler.java index e6576b7283..0c881e5ca1 100644 --- a/core/src/main/java/org/hisp/dhis/android/core/event/internal/EventImportHandler.java +++ b/core/src/main/java/org/hisp/dhis/android/core/event/internal/EventImportHandler.java @@ -95,7 +95,7 @@ public void handleEventImportSummaries(List eventImportSumma String eventUid = eventImportSummary == null ? null : eventImportSummary.reference(); if (eventUid == null) { - break; + continue; } State state = getState(eventImportSummary.status());