View Issue Details

IDProjectCategoryView StatusLast Update
0008730mantisbtemailpublic2008-07-24 16:50
Reportereiben Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionduplicate 
Summary0008730: no notification with checkin.php
Description

When an issue is being updated (or closed) because of a checkin in subversion I don't receive an email notification.

TagsNo tags attached.

Relationships

duplicate of 0008936 closeddhx SVN/CVS checkings don't notify by email 

Activities

REW Steven

REW Steven

2008-05-14 20:07

reporter   ~0017835

Hello

I also had this problem. Here is how I fixed it.

# Call the custom function to register the checkin on each issue.

foreach ( $t_issues as $t_issue_id ) {
    if ( !in_array( $t_issue_id, $t_fixed_issues ) ) {
        helper_call_custom_function( 'checkin', array( $t_issue_id, $t_comment, $t_history_old_value, $t_history_new_value, false ) );
        email_bugnote_add($t_issue_id);
    }
}

foreach ( $t_fixed_issues as $t_issue_id ) {
    helper_call_custom_function( 'checkin', array( $t_issue_id, $t_comment, $t_history_old_value, $t_history_new_value, true ) );
    email_close($t_issue_id);
}

Basically I just added
email_bugnote_add($t_issue_id);
and
email_close($t_issue_id);

That will get your emails sending.