bug fix
This commit is contained in:
parent
f6c0c118d7
commit
637e1cb53f
|
@ -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())){
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue