gitlabhq/gitlabhq — Issue #309: Error 500 on Commits Show [SQL Error]
Author: jaehess
Created: 2012-01-19 19:50:52+00:00
State: open

ActionView::Template::Error (Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null)' at line 1: SELECT `notes`.* FROM `notes` WHERE `notes`.`project_id` = 9 AND `notes`.`noteable_id` = '69e5e0eb4d895d6db4bee119491c7efd6f2d7ccd' AND `notes`.`noteable_type` = 'Commit' AND (line_code not null)):

I get this error on every page I view in any project.