GUACAMOLE-1728: Allow Null User Object attributes to be saved.

This commit is contained in:
Alex Leitner authored and Mike Jumper committed 2023-05-11 23:34:16 -07:00
1 parent ff4854d8f7
commit 2f9ff87404
1 file changed
+3 -2
@@ -145,8 +145,9 @@ public abstract class DirectoryObjectTranslator<InternalType extends Identifiabl
String attributeValue = attributes.get(attributeName);
// Include attribute value within filtered map only if
// (1) defined and (2) present within provided map
if (attributeValue != null)
// defined or present within provided map
if (attributeValue != null ||
attributes.containsKey(attributeName))
filtered.put(attributeName, attributeValue);
}