trac-code-comments-plugin icon indicating copy to clipboard operation
trac-code-comments-plugin copied to clipboard

Issue with MySQL

Open sreenadh opened this issue 13 years ago • 1 comments

I can add the comment successfully but not able to view it, using mysql database. But no issue with sqlite.

I am getting the following errors while viewing a file.

Error: ReferenceError: id is not defined
Source File: *********/chrome/code-comments/underscore-min.js
Line: 29

Timestamp: 09/25/2012 01:05:42 PM
Error: TypeError: $("a", $th).attr("href") is undefined
Source File: *****/chrome/code-comments/code-comments.js
Line: 185

Trac 1.0
TracCodeComments 1.1.0 for Python 2.7

issue exists with "master" branch too.

sreenadh avatar Sep 25 '12 07:09 sreenadh

/code-comments/comments?path=filename&revision=1&line=0

the above URL does not contain the column id in JSON reponse, when mysql is used.

sreenadh avatar Sep 25 '12 11:09 sreenadh