Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037457 | mantisbt | api soap | public | 2026-10-24 06:59 | 2026-11-21 10:35 |
| Reporter | SL-Gundam | Assigned To | dregad | ||
| Priority | low | Severity | tweak | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.23.0 | ||||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0037457: mci_file_add does not apply proper value for bugnote_id | ||||
| Description | In the /admin/schema.php it says the following.
mci_file_add does not respect this and always sets the bugnote_id to 0 | ||||
| Tags | No tags attached. | ||||
|
Thanks for the report, I believe your assessment is correct, in the context of calling mci_file_add () for issues, after implementation of 0021733 in 2.23.0, bugnote_id field should indeed be set to This was covered in MantisBT master c9fafd4a, but only for file_add() function and IssueAddCommand - mc_issue_attachment_add() code path was forgotten. |
|
|
MantisBT: master 4dd73a09 2026-10-26 09:52 Details Diff |
Set bugnote_id to null in mci_file_add() Using the schema-defined default of '0' creates a pre-2.23.0 attachment (not explicitly linked to an issue or a note). Follow-up on c9fafd4aaeab6093c923aeefad996c57f8a09623. Fixes 0037457 |
Affected Issues 0037457 |
|
| mod - api/soap/mc_file_api.php | Diff File | ||
related to
child of
duplicate of