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