fix: Fixed NPE issue with analytics event on authentication method configuration (#17112)
This commit is contained in:
parent
c84fdd6d96
commit
4b4b2f97d4
|
|
@ -381,7 +381,7 @@ public class EnvManagerCEImpl implements EnvManagerCE {
|
||||||
*/
|
*/
|
||||||
public void setAnalyticsEventAction(Map<String, Object> properties, String newVariable, String originalVariable, String authEnv) {
|
public void setAnalyticsEventAction(Map<String, Object> properties, String newVariable, String originalVariable, String authEnv) {
|
||||||
// Authentication configuration added
|
// Authentication configuration added
|
||||||
if (!newVariable.isEmpty() && originalVariable.isEmpty()) {
|
if (!newVariable.isEmpty() && (originalVariable == null || originalVariable.isEmpty())) {
|
||||||
properties.put("action", "Added");
|
properties.put("action", "Added");
|
||||||
}
|
}
|
||||||
// Authentication configuration removed
|
// Authentication configuration removed
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user