hotfix: saas migration section is null

This commit is contained in:
Dominique Eifländer 2024-03-11 16:05:31 +01:00
parent f0105efa62
commit ccdc1f3ce0

View File

@ -241,7 +241,7 @@ public class SaasMigrationService implements TenantSyncService {
private int addManualRedactionEntries(List<ManualRedactionEntry> manualRedactionEntriesToAdd) {
manualRedactionEntriesToAdd.forEach(add -> {
if(add.getSection().length() > 254){
if(add.getSection() != null && add.getSection().length() > 254){
add.setSection(add.getSection().substring(0, 254));
}
});