From 9981770af109a2070b1bfc6231217160ab5a320b Mon Sep 17 00:00:00 2001 From: Ramin Haeri Azad Date: Mon, 17 Aug 2020 10:36:40 -0400 Subject: [PATCH] Added the missing studyResourcePath (Individual / Harmonization). (#3978) --- .../main/java/org/obiba/mica/web/model/StudySummaryDtos.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mica-core/src/main/java/org/obiba/mica/web/model/StudySummaryDtos.java b/mica-core/src/main/java/org/obiba/mica/web/model/StudySummaryDtos.java index 919b763d03..12647bbf49 100644 --- a/mica-core/src/main/java/org/obiba/mica/web/model/StudySummaryDtos.java +++ b/mica-core/src/main/java/org/obiba/mica/web/model/StudySummaryDtos.java @@ -335,7 +335,8 @@ Mica.StudySummaryDto asDtoFromDceUid(String dceUid) { .setTimestamps(TimestampsDtos.asDto(study)) .addAllName(localizedStringDtos.asDto(study.getName())) .addAllAcronym(localizedStringDtos.asDto(study.getAcronym())) - .addAllObjectives(localizedStringDtos.asDto(study.getObjectives())); + .addAllObjectives(localizedStringDtos.asDto(study.getObjectives())) + .setStudyResourcePath(study.getResourcePath()); Optional optionalPopulation = study.getPopulations().stream().filter(population -> population.getId().equals(populationId)).findFirst(); if (optionalPopulation.isPresent()) {