View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013498 | mantisbt | api soap | public | 2011-11-08 20:56 | 2019-06-18 06:46 |
Reporter | pwillia6 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 1.2.5 | ||||
Summary | 0013498: EVENT_REPORT_BUG not raised via SOAP API | ||||
Description | The event is coded into the user update code not the core api code. It should be raised whenever a new event is created not just via the HTML interface. | ||||
Steps To Reproduce |
| ||||
Additional Information | Recommended change: Remove:
from bug_report.php Add:
To end of function create in core/bug_api.php | ||||
Tags | No tags attached. | ||||
I think it's the right decision to move the code, but there will be problems with existing plugins. What will happen if a plugin like timecard [1] is installed and a bug is created via SOAP API? Maybe there are other plugins which generate HTML output when hooking EVENT_REPORT_BUG, .... Another side effect I found: After the suggested change the EmailReporting Plugin [3] will signal two times EVENT_REPORT_BUG [1] https://github.com/mantisbt-plugins/timecard/blob/master/Timecard/Timecard.php#L60 |
|
(In reply to comment 0013498:0030204)
All of these are good points. This is why the parent issue is targeted for 1.3. |
|