Pull request #409: RED-4007: INC12878261: Cannot set dossier dictionary to "addToDictionaryAction": true
Merge in RED/persistence-service from RED-4007-ps1 to master * commit '7d4da5fa8382e3805092d00413d272be98bd1db5': RED-4007: INC12878261: Cannot set dossier dictionary to "addToDictionaryAction": true
This commit is contained in:
commit
5b749f2355
@ -79,9 +79,11 @@ public class DictionaryPersistenceService {
|
||||
type.setRecommendationHexColor(typeValueRequest.getRecommendationHexColor());
|
||||
type.setDescription(typeValueRequest.getDescription());
|
||||
type.setLabel(typeValueRequest.getLabel());
|
||||
type.setAddToDictionaryAction(typeValueRequest.isAddToDictionaryAction());
|
||||
} else {
|
||||
BeanUtils.copyProperties(typeValueRequest, type, "type", "dossierTemplateId", "dossierId", "entries", "falsePositiveEntries", "falseRecommendationEntries", "dossierTemplate", "dossier", "id", "version");
|
||||
}
|
||||
typeRepository.save(type);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user