Merge branch 'hotfix-npe-component-log-fp' into 'master'
Hotfix for NPE when creating component log See merge request redactmanager/redaction-service!534
This commit is contained in:
commit
92d03de194
@ -52,7 +52,7 @@ public class ComponentLogCreatorService {
|
||||
for (ComponentDefinition componentDefinition : componentDefinitions) {
|
||||
String technicalName = componentDefinition.getTechnicalName().toLowerCase(Locale.ROOT);
|
||||
if (!existingComponentNames.contains(technicalName)) {
|
||||
componentLogEntries.add(new ComponentLogEntry(componentDefinition.getDisplayName(), null, null, false));
|
||||
componentLogEntries.add(new ComponentLogEntry(componentDefinition.getDisplayName(), new ArrayList<>(), new ArrayList<>(), false));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user