Defect #1162

An Internal error wehn use an UPCASE language name in coderay

Added by Baryon Lee almost 10 years ago. Updated almost 10 years ago.

Status:ClosedStart date:2008-05-02
Priority:NormalDue date:
Assignee:-% Done:


Target version:0.7.1
Resolution:Fixed Affected version:


when I new an issue and input some codes like

<pre><code class="C">
some codes

an Internal error was raised

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.

Exception Stack:

ActionView::TemplateError (No CodeRay::Scanners plugin for :C found in C:/redmine/vendor/plugins/coderay- on line
 #2 of common/_preview.rhtml:
1: <fieldset class="preview"><legend><%= l(:label_preview) %></legend>
2: <%= textilizable @text, :attachments => @attachements %>
3: </fieldset>

    vendor/plugins/coderay- `creat
    vendor/plugins/coderay- `call'
    vendor/plugins/coderay- `defaul
    vendor/plugins/coderay- `[]'
    vendor/plugins/coderay- `[]'
    vendor/plugins/coderay- `scan'
    lib/redmine/wiki_formatting.rb:59:in `smooth_offtags'
    lib/redmine/wiki_formatting.rb:55:in `gsub!'
    lib/redmine/wiki_formatting.rb:55:in `smooth_offtags'
    lib/redcloth.rb:305:in `to_html'
    lib/redmine/wiki_formatting.rb:40:in `to_html'
    lib/redmine/wiki_formatting.rb:165:in `to_html'
    app/helpers/application_helper.rb:221:in `textilizable'
    app/views/common/_preview.rhtml:2:in `_run_erb_47app47views47common47_previe
se.rb:637:in `send'
se.rb:637:in `compile_and_render_template'

Associated revisions

Revision 1405
Added by Jean-Philippe Lang almost 10 years ago

Fixed: error when using upcase language name in coderay (#1162) (Windows specific).


#1 Updated by Jean-Philippe Lang almost 10 years ago

  • Category set to Wiki
  • Status changed from New to Closed
  • Target version set to 0.7.1
  • Resolution set to Fixed

Fixed in r1405.

Also available in: Atom PDF