You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have found a quite severe issue: Alternate Usernames are overwritten even if set to NO in the config.
The reason seems that the next config setting (link_with_user) overwrites that one. Seems to be a copy-paste bug in hardware.class.php, line 215 (if ...["link_with_user"]), where "$updates["contact"] is written instead of "users_id".
It is critical since we write Alternate Usernames by hand, and they are overwritten by OCS each time that an user changed on a computer (not at the first sync).
Versions: all from 2.0.0 rc2 to the actual one.
Here the corrected 2 lines of code (old parts commented)
Dear ocs-glpi community,
We have found a quite severe issue: Alternate Usernames are overwritten even if set to NO in the config.
The reason seems that the next config setting (link_with_user) overwrites that one. Seems to be a copy-paste bug in hardware.class.php, line 215 (if ...["link_with_user"]), where "$updates["contact"] is written instead of "users_id".
It is critical since we write Alternate Usernames by hand, and they are overwritten by OCS each time that an user changed on a computer (not at the first sync).
Versions: all from 2.0.0 rc2 to the actual one.
Here the corrected 2 lines of code (old parts commented)
Thank you!
Mirko
The text was updated successfully, but these errors were encountered: