Redmine, CVS and Oracle
Added by Jose Mª Callejo over 13 years ago
to access the repository generates the following error in the log:
Processing RepositoriesController#show (for 172.17.9.28 at 2011-03-31 18:05:34) [GET]
Parameters: {"action"=>"show", "id"=>"sgipes-ch", "controller"=>"repositories"}
ActiveRecord::StatementInvalid (OCIError: ORA-00932: tipos de dato inconsistentes: se esperaba - se ha obtenido CLOB: select * from (select raw_sql_.*, rownum raw_rnum_ from (SELECT * FROM changesets WHERE (changesets.repository_id = 10226 AND (changesets.committed_on BETWEEN TO_DATE('2010-12-01 08:17:37','YYYY-MM-DD HH24:MI:SS') AND TO_DATE('2010-12-01 08:17:57','YYYY-MM-DD HH24:MI:SS') AND changesets.comments = 'Initial revision' AND changesets.committer = 'jmc')) ORDER BY changesets.committed_on DESC, changesets.id DESC) raw_sql_ where rownum <= 1) where raw_rnum_ > 0):
d:/Ruby/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.2.0/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:927:in `select'
app/models/repository/cvs.rb:109:in `fetch_changesets'
lib/redmine/scm/adapters/cvs_adapter.rb:191:in `revisions'
lib/redmine/scm/adapters/cvs_adapter.rb:126:in `each_line'
lib/redmine/scm/adapters/cvs_adapter.rb:126:in `revisions'
lib/redmine/scm/adapters/abstract_adapter.rb:193:in `call'
lib/redmine/scm/adapters/abstract_adapter.rb:193:in `shellout'
lib/redmine/scm/adapters/abstract_adapter.rb:191:in `popen'
lib/redmine/scm/adapters/abstract_adapter.rb:191:in `shellout'
lib/redmine/scm/adapters/abstract_adapter.rb:177:in `shellout'
lib/redmine/scm/adapters/cvs_adapter.rb:114:in `revisions'
app/models/repository/cvs.rb:104:in `fetch_changesets'
app/models/repository/cvs.rb:102:in `fetch_changesets'
app/controllers/repositories_controller.rb:77:in `show'
Rendering D:/Redmine/public/500.html (500 Internal Server Error)