View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016989 | mantisbt | other | public | 2014-02-18 12:33 | 2014-03-03 14:24 |
Reporter | David M | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.15 | ||||
Target Version | 1.2.17 | Fixed in Version | 1.2.17 | ||
Summary | 0016989: The bug_get_bugnote_count() function in the bug API always returns 0 | ||||
Description | It is private function of the BugData class, which means the bug's id is assigned to the attribute "id" of the object. However, in this function the code goes like the following: The "bug_id" attribute doesn't exist (since it's "id") and thus, the query searches for "bug_id=0" always, returning 0 bugnotes found. It's not critical but the API is incorrect because of it. | ||||
Steps To Reproduce | 1- Create a script using bug_api.php | ||||
Tags | No tags attached. | ||||
MantisBT: master 84dd80e9 2014-02-18 09:27 Details Diff |
Fix 0016989: The bug_get_bugnote_count() function in the bug API always returns 0 |
Affected Issues 0016989 |
|
mod - core/bug_api.php | Diff File | ||
MantisBT: master-1.2.x 122edb61 2014-02-18 09:28 Details Diff |
Fix 0016989: The bug_get_bugnote_count() function in the bug API always returns 0 |
Affected Issues 0016989 |
|
mod - core/bug_api.php | Diff File |