View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011993 | mantisbt | api soap | public | 2010-06-04 09:39 | 2018-05-20 07:01 |
Reporter | AboeBakr | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 1.2.1 | ||||
Summary | 0011993: trigger events when bug added etc via soap | ||||
Description | Currently no events are triggered, causing hooks by plug-ins to fail | ||||
Tags | No tags attached. | ||||
parent of | 0013498 | closed | dregad | EVENT_REPORT_BUG not raised via SOAP API |
has duplicate | 0013436 | closed | vboctor | Add note through soap doesn't trigger email notifications |
has duplicate | 0021557 | closed | atrol | Issue creation events are not triggered when adding issues via SOAP API |
has duplicate | 0023666 | closed | dregad | mc_issue_add does not trigger EVENT_REPORT_BUG/EVENT_REPORT_BUG_DATA event in plugin associated to bug creation |
related to | 0020578 | new | move some events into core API |
@jreese : any ideas on how we should go about doing this? |
|
It appears that creating/modifying issues through the SOAP API doesn't trigger any notification e-mails either. Is that caused by this issue, or should I open a separate issue that problem? |
|
@thijsputman : there's no need to open a separate issue, we'll track all events using this one. |
|
Rombert: surely this is just a case evaluting the positioning of hooks so that the hooks are consistent? i.e. I assume that the soap api doesn't block/disable the event hooks/plugins, so if event's are not getting fired, it feels like we've got events in the wrong place... |
|
Usually the SOAP API needs to fire the plugin events itself since the web UI triggers them directly as well. |
|
There are different types of events, i think they could be classified on these two groups: Most events are of type 1, and makes sense on the web frontend. I think those should be moved into the core api. For the current issue, soap api ideally would call core api functions, soif the events are defined there, the behaviuor would be consistent. (On a related issue, email notifications may have the same problem, since they are triggered from the caller, not the actual performer of the action) |
|
Unassigned after a long time of inactivity. |
|