Project

General

Profile

Actions

Defect #9025

closed

Git: Internal Server Error whilst trying to view repo page

Added by Nathan Else almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-08-10
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I'm currently using the github plugin (http://mentalized.net/journal/2009/08/03/redmine_plugin_github_hook/) but when trying to view the repo page I am getting the following error:

ctionView::TemplateError (RuntimeError: ERROR  C22P02  Minvalid input syntax for integer: "e02bb32db99e03b1126c4abfd59e3e7e807d502e"   Fnumutils.c     L92     Rpg_atoi: SELECT * FROM "changesets" WHERE ("changesets"."revision" = 'e02bb32db99e03b1126c4abfd59e3e7e807d502e') AND ("changesets".repository_id = 1)  ORDER BY changesets.committed_on DESC, changesets.id DESC LIMIT 1) on line #19 of app/views/repositories/_dir_list_content.rhtml:

This is obviously down to using the Git Revision as the the revision ID in the database.

Actions

Also available in: Atom PDF