View Issue Details

IDProjectCategoryView StatusLast Update
0016009mantisbtotherpublic2014-12-08 02:07
ReporterKirill Assigned Tovboctor  
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0016009: Bug note not showing
Description

Add bug note. In history I see this note. But in bug notes nothing showing.

Tagspatch
Attached Files
2013-06-05 09_01_50.png (47,979 bytes)   
2013-06-05 09_01_50.png (47,979 bytes)   
issue16009.patch (797 bytes)   
From d06c0cd43ef8997dd9ff0f5118bc6cc0428afbea Mon Sep 17 00:00:00 2001
From: Kirill Krasnov <krasnovforum@gmail.com>
Date: Wed, 5 Jun 2013 09:03:58 +0300
Subject: [PATCH] Fix #16009

---
 core/bugnote_api.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/bugnote_api.php b/core/bugnote_api.php
index 1dc6e51..a9ccb2c 100644
--- a/core/bugnote_api.php
+++ b/core/bugnote_api.php
@@ -168,7 +168,7 @@ function bugnote_add( $p_bug_id, $p_bugnote_text, $p_time_tracking = '0:00', $p_
 	}
 
 	$t_bugnote_text_table = db_get_table( 'bugnote_text' );
-	$t_bugnote_table = db_get_table( 'bugnotE' );
+	$t_bugnote_table = db_get_table( 'bugnote' );
 
 	# Event integration
 	$t_bugnote_text = event_signal( 'EVENT_BUGNOTE_DATA', $p_bugnote_text, $c_bug_id );
-- 
1.8.3.msysgit.0

issue16009.patch (797 bytes)   

Activities

Kirill

Kirill

2013-06-05 02:14

reporter   ~0037097

master branch

atrol

atrol

2013-06-05 02:19

developer   ~0037098

It's strange that the ID of the note is 91.
This is the newest note, so I would expect an ID like 102.

Kirill

Kirill

2013-06-05 02:30

reporter   ~0037100

Yes. I see this, but I more strange that bugnotes not showing.
I attach patch and create pull request for master branch in github

Related Changesets

MantisBT: master d06c0cd4

2013-06-04 22:03

Kirill


Details Diff
Fix 0016009 Affected Issues
0016009
mod - core/bugnote_api.php Diff File

MantisBT: master ce4eea25

2013-06-04 22:46

vboctor


Details Diff
Merge pull request #86 from Kirill/issue16009

Fixes 0016009: Bug note not showing
Affected Issues
0016009
mod - core/bugnote_api.php Diff File