hotfix: saas migration section is null
This commit is contained in:
parent
f0105efa62
commit
ccdc1f3ce0
@ -241,7 +241,7 @@ public class SaasMigrationService implements TenantSyncService {
|
|||||||
private int addManualRedactionEntries(List<ManualRedactionEntry> manualRedactionEntriesToAdd) {
|
private int addManualRedactionEntries(List<ManualRedactionEntry> manualRedactionEntriesToAdd) {
|
||||||
|
|
||||||
manualRedactionEntriesToAdd.forEach(add -> {
|
manualRedactionEntriesToAdd.forEach(add -> {
|
||||||
if(add.getSection().length() > 254){
|
if(add.getSection() != null && add.getSection().length() > 254){
|
||||||
add.setSection(add.getSection().substring(0, 254));
|
add.setSection(add.getSection().substring(0, 254));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user