Description | I'm doing the following test
helyos = REPORTER
administrator = ADMINISTRATOR
Helyos post a new issue (administrator should receive the notification here)
Helyos add a new bug note (nobody receive notifications since i do not want to receive notifications for my actions)
Administrator assign the issue to himself (helyos receive a notification)
Helyos add a new bug note (administrator receive the notification)
I have apply the fix 0009309
Here is my version
function bugnote_add ( $p_bug_id, $p_bugnote_text, $p_time_tracking = '0:00', $p_private = false, $p_type = 0, $p_attr = '', $p_user_id = null, $p_send_email=TRUE ) {
$c_bug_id = db_prepare_int( $p_bug_id );
$c_bugnote_text = db_prepare_string( $p_bugnote_text );
$c_time_tracking = db_prepare_time( $p_time_tracking );
$c_private = db_prepare_bool( $p_private );
$c_type = db_prepare_int( $p_type );
$c_attr = db_prepare_string( $p_attr );
Can you tell me what is wrong??? |
---|
Steps To Reproduce | Here is my config_inc.php file
<?php
$g_hostname = 'xxxxxxxxxxxxxx';
$g_db_username = 'XXXX';
$g_db_password = 'XXXXXXXXX';
$g_database_name = 'XXXXXX';
$g_db_type = 'mysql';
$g_mail_receive_own = OFF;
$g_default_notify_flags = array('reporter' => ON, 'handler' => ON, 'monitor' => ON, 'bugnotes' => ON, 'threshold_min' => NOBODY, 'threshold_max' => NOBODY);
$g_notify_flags['new']['threshold_min'] = ADMINISTRATOR;
$g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;
?> |
---|
Additional Information | //NEW BUG
2008-08-04 18:36 CEST mail_recipient bug=344, add reporter=14
2008-08-04 18:36 CEST mail_recipient bug=344, drop 14 (own)
2008-08-04 18:36 CEST mail bug=344, type=new, msg=email_notification_title_for_action_bug_submitted, recipients=()
// NEW BUG NOTE WITHOUT ASSIGNATION
2008-08-04 18:44 CEST mail_recipient bug=345, add reporter=14
2008-08-04 18:44 CEST mail_recipient bug=345, add note author=14
2008-08-04 18:44 CEST mail_recipient bug=345, drop 14 (own)
2008-08-04 18:44 CEST mail bug=345, type=bugnote, msg=email_notification_title_for_action_bugnote_submitted, recipients=()
// ASSIGNATION
2008-08-04 18:45 CEST mail_recipient bug=345, add reporter=14
2008-08-04 18:45 CEST mail_recipient bug=345, add handler=1
2008-08-04 18:45 CEST mail_recipient bug=345, add note author=14
2008-08-04 18:45 CEST mail_recipient bug=345, drop 1 (own)
2008-08-04 18:45 CEST mail bug=345, type=owner, msg=email_notification_title_for_action_bug_assigned, recipients=(XXX@XXX.XXX)
// NEW BUG NOTE WITH ASSIGNATION
2008-08-04 18:45 CEST mail_recipient bug=345, add reporter=14
2008-08-04 18:45 CEST mail_recipient bug=345, add handler=1
2008-08-04 18:45 CEST mail_recipient bug=345, add note author=14
2008-08-04 18:45 CEST mail_recipient bug=345, drop 14 (own)
2008-08-04 18:45 CEST mail bug=345, type=bugnote, msg=email_notification_title_for_action_bugnote_submitted, recipients=(XXX2@XXX.XXX) |
---|