View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034430 | mantisbt | plug-ins | public | 2024-05-01 10:11 | 2024-05-11 17:23 |
Reporter | cas | Assigned To | atrol | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
Product Version | 2.26.1 | ||||
Summary | 0034430: Request for a new event | ||||
Description | the file core/commands/IssueNoteAddCommand.php does have an event_signal but this is coming after the update has been made. | ||||
Additional Information | In an attempt to create an anti spam plugin need to ensure issues & notes are raised in a pre-defined language. | ||||
Tags | No tags attached. | ||||
@cas I didn't have a deeper look, but can't you use |
|
@atrol, was my initial idea too but this kicks in after validation and processing. |
|
The event is triggered before the note is stored in database. |
|
Are you sure? My test shows different. If I use that Event I do get a message but the note is already in the DB. |
|
Snippet from |
|
My mistake, you are right. Reviewed my test and looked at EVENT_BUGNOTE_ADD. |
|