view users collection. status message saved in profile.statusMessages
logout and login again as testuser1
view users collection. status message field is missing.
At initial startup/login, we retrieve the user's information from LDAP and do an upsert with the whole user object. chat-locker specific properties at the root level (like status field) are not overwritten. However, child objects (like profile) clobber existing profile objects.
To fix, we need to do one of the following:
store chat-locker specific properties at the root level
individually declare fields to overwrite
store chat-locker fields in child object with different name then child objects from LDAP
To replicate;
At initial startup/login, we retrieve the user's information from LDAP and do an upsert with the whole user object. chat-locker specific properties at the root level (like status field) are not overwritten. However, child objects (like profile) clobber existing profile objects.
To fix, we need to do one of the following: