hotfix: fixed to long section value of manual redaction in saas migration
This commit is contained in:
parent
bd3fb2695d
commit
f0105efa62
@ -240,6 +240,12 @@ public class SaasMigrationService implements TenantSyncService {
|
||||
|
||||
private int addManualRedactionEntries(List<ManualRedactionEntry> manualRedactionEntriesToAdd) {
|
||||
|
||||
manualRedactionEntriesToAdd.forEach(add -> {
|
||||
if(add.getSection().length() > 254){
|
||||
add.setSection(add.getSection().substring(0, 254));
|
||||
}
|
||||
});
|
||||
|
||||
return manualRedactionService.addManualRedactionEntries(manualRedactionEntriesToAdd, true);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user