|Anonymous | Login | Signup for a new account||2019-09-22 22:12 BST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001806||SiT!||incidents||public||2012-10-02 20:41||2012-10-16 21:57|
|Product Version||Current GIT|
|Target Version||Fixed in Version|
|Summary||0001806: create_incident() in incident.inc.php doesn't do triggers|
|Description||This function doesn't initiate any of the incident creation triggers|
applies to git and svn
|Tags||No tags attached.|
edited on: 2012-10-02 20:48
which trigger should be there?
triggers are located after the incident_create() is called, in the pages..
or am I wrong ?
|I read wrong, sorry. I read it as being inside the function. and not after the call.|
I'm in too minds now, the incident_create() function doesn't trigger any actions so you have to code the trigger afterwards which leaves this upto third party plugin developers who may not know this (I didn't ;-))
But I can also see a case when you may not want to trigger, I'm torn now as to what the correct functionality should be....
|That just sparked something. I remember having to add some triggers to our auto-create plugin, to make it work. I think I did speak to Ivan about it (yonks ago), but it was easy to add tot he plugin, so we left it at that ...|
|2012-10-02 20:41||paulh||New Issue|
|2012-10-02 20:46||Tomse||Note Added: 0004532|
|2012-10-02 20:48||Tomse||Note Edited: 0004532||View Revisions|
|2012-10-06 09:17||Tomse||Note Added: 0004533|
|2012-10-16 21:14||paulh||Note Added: 0004550|
|2012-10-16 21:57||nicdev||Note Added: 0004551|
|Copyright © 2000 - 2019 MantisBT Team|