fixed section assign

This commit is contained in:
Timo Bejan 2021-11-04 17:36:10 +02:00
parent 07d59c6353
commit 310d864647

View File

@ -229,7 +229,6 @@ public class RedactionLogMergeService {
RedactionLogEntry redactionLogEntry = createRedactionLogEntry(manualRedactionEntry, manualRedactionEntry RedactionLogEntry redactionLogEntry = createRedactionLogEntry(manualRedactionEntry, manualRedactionEntry
.getId(), dossierTemplateId); .getId(), dossierTemplateId);
redactionLogEntry.setPositions(manualRedactionEntry.getPositions());
redactionLogEntry.setComments(comments.get(manualRedactionEntry.getId())); redactionLogEntry.setComments(comments.get(manualRedactionEntry.getId()));
sectionTextService.handleSectionText(sectionGrid, redactionLogEntry); sectionTextService.handleSectionText(sectionGrid, redactionLogEntry);
@ -265,11 +264,11 @@ public class RedactionLogMergeService {
.type(manualRedactionEntry.getType()) .type(manualRedactionEntry.getType())
.redacted(true) .redacted(true)
.isHint(false) .isHint(false)
.section(null)
.sectionNumber(-1) .sectionNumber(-1)
.manual(true) .manual(true)
.status(manualRedactionEntry.getStatus()) .status(manualRedactionEntry.getStatus())
.manualRedactionType(ManualRedactionType.ADD) .manualRedactionType(ManualRedactionType.ADD)
.positions(manualRedactionEntry.getPositions())
.manualRedactionUserId(manualRedactionEntry.getUser()) .manualRedactionUserId(manualRedactionEntry.getUser())
.build(); .build();
} }