Closed wencagh closed 5 months ago
Could you provide a execution stack? (or some lines from Apache error_log )
This error is strange for me, because bugnote_edit function is called by Mantis events, which always provide bugnote_id eg.
event_signal( 'EVENT_BUGNOTE_ADD', array( $p_bug_id, $t_bugnote_id, array() ) );
Without bugnote_id calling this function makes no sense.
Thank you for you response. After next investgation it seems, that root cause is another custom plugin, which is in case of bug status change signaling EVENT_BUGNOTE_ADD with null id of bugnote.
I caught the bug ERROR_BUGNOTE_NOT_FOUND with VEditor v1.1.0 and MantisBT 2.26.1 on action when state of bug(issue) is changing. Not dependet if additional message with state change was filled or not.
It seems, that this is working solution: