MantisBT: master d736817f

Author Committer Branch Timestamp Parent
dombn dregad master 2026-10-31 13:34 master 84c82397
Affected Issues  0037474: Updating an existing note via REST/SOAP resets its view state if none is given
Changeset

Keep note view state on update if not specified

mc_issue_update() reset the view state of existing notes to
default_bugnote_view_status when the update did not include a view
state, e.g. via REST PATCH with only the note text. Only apply the
view state when it is specified, as already done for text and
time tracking.

Fixes 0037474

Signed-off-by: Damien Regad dregad@mantisbt.org

mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File