Skip to content

Commit 4c28871

Browse files
committed
Fixed problem of failing researchAllParts
This maybe should be revisited in the future, but for now this fix should work
1 parent 1d38c50 commit 4c28871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/BulkInfoProviderImportController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ public function researchAllParts(int $jobId): JsonResponse
553553

554554
// Properly manage entity manager memory without losing state
555555
$jobId = $job->getId();
556-
$this->entityManager->clear();
556+
//$this->entityManager->clear(); //TODO: This seems to cause problems with the user relation, when trying to flush later
557557
$job = $this->entityManager->find(BulkInfoProviderImportJob::class, $jobId);
558558
}
559559

0 commit comments

Comments
 (0)