This commit is contained in:
Efstratios Giannopoulos 2024-06-28 14:33:06 +03:00
parent f6c0c118d7
commit 637e1cb53f
2 changed files with 4 additions and 1 deletions

View File

@ -134,6 +134,9 @@ public class DmpMigrationService {
}
}
}
if (data.getCreatorId() == null && item.getCreator() != null && item.getCreator().getId() != null) {
data.setCreatorId(item.getCreator().getId());
}
data.setGroupId(model.getGroupId());
data.setVersion((short) model.getVersion());
if (currentVersionDmp != null && currentVersionDmp.getId().equals(item.getId())){

View File

@ -65,7 +65,7 @@ GrantMigrationService {
ReferenceEntity data = new ReferenceEntity();
data.setId(item.getId());
data.setLabel(item.getLabel());
data.setLabel(item.getLabel() +" (" + referenceParts[1] + ")");
data.setDescription(item.getDescription());
data.setAbbreviation(item.getAbbreviation());
data.setIsActive(IsActive.Active);