Commit 553f019e authored by Matija Obreza's avatar Matija Obreza

Fix: Load accession details requires lazyLoad

parent f6768db4
......@@ -152,7 +152,7 @@ public class AccessionServiceImpl implements AccessionService {
if (accession == null) {
throw new ResourceNotFoundException();
}
accession = accessionRepository.findOneByUuid(accession.getUuid());
accession = lazyLoad(accessionRepository.findOneByUuid(accession.getUuid()));
List<Dataset> datasets = datasetService.listByAccession(accession);
List<Subset> subsets = subsetService.listByAccession(accession);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment