View Issue Details

IDProjectCategoryView StatusLast Update
0036866mantisbtapi restpublic2026-02-07 03:03
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.28.0 
Target Version2.29.0Fixed in Version2.29.0 
Summary0036866: REST API cannot clear user email to blank via PATCH /users/{id}
Description

Setting a user's email to an empty string via the REST API or Manage User page silently fails. The API returns 200 but the email remains unchanged.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master af2ce93f

2026-02-05 23:15

vboctor


Details Diff
Update UserUpdateCommand to be able to empty email address

Fixes 0036866
Affected Issues
0036866
mod - core/commands/UserUpdateCommand.php Diff File
mod - tests/rest/RestUserTest.php Diff File