Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0036873 | mantisbt | ldap | public | 2026-02-09 11:02 | 2026-05-14 14:15 |
| Reporter | raspopov | Assigned To | community | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.28.0 | ||||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0036873: When creating or updating a user, the email address and real name are not synchronized with LDAP | ||||
| Description | There are two cases:
| ||||
| Steps To Reproduce | The | ||||
| Additional Information | The problem is probably caused by the fact that the | ||||
| Tags | No tags attached. | ||||
|
If LDAP is used, the UserUpdateCommand is invoked at the end with empty strings for email and real name rather than null values. These empty strings are interpreted as new values, which empties the database fields. As far as I understand, MantisBT contains code that works directly with the database, bypassing the User API. Perhaps the same code is used in plugins, so it is better to have the most recent versions of the email address and real user name in the database. PR: https://github.com/mantisbt/mantisbt/pull/2184 Better after 0024044. |
|
|
MantisBT: pr2124 038a6be5 2026-02-09 11:16 Committer: dregad Details Diff |
Fix the synchronization of mail and real name with LDAP - The update of the email address and real name to the database from LDAP was added when a user is created. - Corrected the issue of erroneously clearing the email and real name from the database when updating a non-existent user in LDAP. Fixes 0036873, PR https://github.com/mantisbt/mantisbt/pull/2184 |
Affected Issues 0036873 |
|
| mod - core/commands/UserUpdateCommand.php | Diff File | ||
| mod - core/user_api.php | Diff File | ||
related to
child of
duplicate of