Project

General

Profile

Internal Error while rendering Wiki Page with Redmine 2.2.0

Added by Florian Diesner over 11 years ago

Hi All,

the following problem exists since upgrading from 1.x to 2.x.x.

Environment:
Redmine version 2.2.0.stable
Ruby version 1.8.7 (universal-darwin10.0)
Rails version 3.2.9
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed

Rails 3.2.9
OSX Server 10.6.8
mysql Ver 14.12 Distrib 5.0.92, for apple-darwin10.0 (i386) using EditLine wrapper
Phusion Passenger version 3.0.18
Server version: Apache/2.2.22 (Unix)

When accessing a wiki page for the first time, an internal error is shown. If i reload the broken page everything renders fine.

Started GET "/projects/gmbh/wiki/HQ_Meeting_23032012" for 78.47.91.108 at Fri Jan 04 10:31:39 +0100 2013
Processing by WikiController#show as HTML
  Parameters: {"project_id"=>"gmbh", "id"=>"HQ_Meeting_23032012"}
  Current user: floriandi (id=3)
  Rendered wiki/_content.html.erb (14.5ms)
  Rendered wiki/show.html.erb within layouts/base (21.4ms)
Completed 500 Internal Server Error in 65ms

ActionView::Template::Error (integer 4294967294 too big to convert to `int'):
    1: <div class="wiki wiki-page">
    2:   <%= textilizable content, :text, :attachments => content.page.attachments,
    3:         :edit_section_links => (@sections_editable && {:controller => 'wiki', :action => 'edit', :project_id => @page.project, :id => @page.title}) %>
    4: </div>
  lib/redmine/wiki_formatting.rb:58:in `to_html'
  app/helpers/application_helper.rb:545:in `textilizable'
  app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb__343247122_2191693000'
  app/views/wiki/show.html.erb:40:in `_app_views_wiki_show_html_erb__338324426_2192115860'
  app/controllers/wiki_controller.rb:98:in `show'

Thank you.