Bug #43378 Note gets overwritten when you try to add notes to multiple issues
Submitted: 4 Mar 2009 15:54 Modified: 1 Jan 2011 17:56
Reporter: Chris Lewis Email Updates:
Status: Won't fix Impact on me:
None 
Category:Eventum Severity:S3 (Non-critical)
Version:2.2 OS:Any
Assigned to: CPU Architecture:Any
Tags: post note

[4 Mar 2009 15:54] Chris Lewis
Description:
Clicking "Post Internal Note" on an issue when you're already posting a note in a different issue will overwrite what you're writing in the first issue.

How to repeat:
Click "Post Internal Note" in multiple issues. Only 1 window will open. If anything was written in the first issue it will be lost.

Suggested fix:
Index: F:/Projects/OF_tasks/trunk/htdocs/templates/notes.tpl.html
===================================================================
--- F:/Projects/OF_tasks/trunk/htdocs/templates/notes.tpl.html	(revision 16)
+++ F:/Projects/OF_tasks/trunk/htdocs/templates/notes.tpl.html	(working copy)
@@ -31,7 +31,7 @@
 function postInternalNote(issue_id)
 {
     var features = 'width=560,height=600,top=30,left=30,resizable=yes,scrollbars=yes,toolbar=no,location=no,menubar=no,status=no';
-    var noteWin = window.open('post_note.php?issue_id=' + issue_id, '_postNote', features);
+    var noteWin = window.open('post_note.php?issue_id=' + issue_id, '_postNote' + issue_id, features);
     noteWin.focus();
 }
 function replyNote(note_id, issue_id)
[1 Jan 2011 17:56] Valeriy Kravchuk
As Oracle no longer sponsors or coordinates active development of the Eventum software, interested parties should report bugs at https://bugs.launchpad.net/eventum