Bug #20452 Issue closed comments not inserted to internal notes
Submitted: 14 Jun 2006 9:00 Modified: 14 Jun 2006 14:39
Reporter: Jaroslav Uher Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Eventum Severity:S3 (Non-critical)
Version:1.7.1 OS:
Assigned to: Bryan Alsdorf CPU Architecture:Any

[14 Jun 2006 9:00] Jaroslav Uher
Description:
Text entered in 'Reason for closing issue' is not inserted as an internal note if 'send notification to' is set to 'All'.

How to repeat:
Choose an open issue.
Click to 'close issue'.
Fill form, enter any text to 'Reason...', set 'send notification to' to value All
Click to 'Close Issue'

-> no internal note for closing not appear in internal notes

Suggested fix:
in class.issue.php, method 'close', from row 1275: (exclude add note block from if-else block)

                Support::insertEmail($email, $structure, $sup_id, true);
                $ids = $sup_id;
// JU removed           } else {
// JU new row:
             }
                // add note with the reason to close the issue
                $HTTP_POST_VARS['title'] = 'Issue closed comments';
                $HTTP_POST_VARS["note"] = $reason;
                Note::insert($usr_id, $issue_id, false, true, true);
                $ids = false;
// JU removed           }
[14 Jun 2006 11:47] Valeriy Kravchuk
Thank you for a problem report. What exact version of Eventum do you use?
[14 Jun 2006 12:14] Jaroslav Uher
this is for 1.7.1
[14 Jun 2006 14:39] Bryan Alsdorf
Hi,

When sending the closed issue comment to all people, the comment is saved as an email, not a note. However, you might not have email integration enabled, so you are unable to see the saved comments. Try enabling email integration to see these comments.