Fix #19198: di fix custom property filter (#19531)

This commit is contained in:
Mayur Singal 2025-01-27 15:54:41 +05:30 committed by GitHub
parent 5b63c36ef1
commit eea4b65b80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -227,7 +227,7 @@ public class DataInsightsEntityEnricherProcessor
}
// Modify Custom Property key
Optional<Object> oCustomProperties = Optional.ofNullable(entityMap.remove("extension"));
Optional<Object> oCustomProperties = Optional.ofNullable(entityMap.get("extension"));
oCustomProperties.ifPresent(
o -> entityMap.put(String.format("%sCustomProperty", entityType), o));