https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-02-08T22:57:51ZRedmineRedmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=249842011-02-08T22:57:51ZEtienne Massip
<ul></ul><p>Could you try with Rails 2.3.5 ?</p> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=296752011-06-08T09:21:25ZFrancisco Almeida
<ul></ul><p>Any update on this issue? I am having the same problem after upgrading to 1.2 (stable):</p>
<p>ActionView::TemplateError (comparison of Issue with Issue failed) on line <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: IE7 cyrillic not displayed correctly (Closed)" href="https://www.redmine.org/issues/54">#54</a> of app/views/gantts/show.html.erb:<br />51: # Width of the entire chart <br />52: g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom<br />53: <br />54: @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width, :subject_width => subject_width)<br />55: <br />56: g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max<br />57: t_height = g_height + headers_height</p>
<p>Etienne Massip wrote:</p>
<blockquote>
<p>Could you try with Rails 2.3.5 ?</p>
</blockquote> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=296892011-06-08T15:41:13ZEtienne Massip
<ul></ul><p>Please give additional info according to <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/SubmittingBugs">SubmittingBugs</a>.</p> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=297872011-06-10T08:52:02ZEtienne Massip
<ul><li><strong>Affected version (unused)</strong> set to <i>1.1.1</i></li><li><strong>Affected version</strong> set to <i>1.1.1</i></li></ul> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=314172011-08-12T10:31:22ZGerald Prock
<ul></ul><p>I have the same Problem but only with one of thirty active projects.</p>
The Server is a Suse 11.4 with the current BitNami Stack:
<ul>
<li>Redmine 1.2.1 (2011-07-11)</li>
<li>Database: MySQL 5.1.56 for pc-linux-gnu on i686 (MySQL Community Server (GPL))</li>
<li>Ruby: ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]</li>
<li>Rails: 2.3.11</li>
</ul>
<p>When i open the Gantt Chart i get the following Error:<br />------------------------------------------------------------------<br />Processing GanttsController#show (for 81.223.151.146 at 2011-08-12 11:13:22) [GET]<br /> Parameters: {"project_id"=>"newproductsuntory", "action"=>"show", "controller"=>"gantts"}<br />Rendering template within layouts/base<br />Rendering gantts/show</p>
<p>ActionView::TemplateError (comparison of Issue with Issue failed) on line <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: IE7 cyrillic not displayed correctly (Closed)" href="https://www.redmine.org/issues/54">#54</a> of app/views/gantts/show.html.erb:<br />51: # Width of the entire chart <br />52: g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom<br />53: <br />54: @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width, :subject_width => subject_width)<br />55: <br />56: g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max<br />57: t_height = g_height + headers_height</p>
<pre><code>lib/redmine/helpers/gantt.rb:673:in `sort!'<br /> lib/redmine/helpers/gantt.rb:673:in `sort_issues!'<br /> lib/redmine/helpers/gantt.rb:204:in `render_project'<br /> lib/redmine/helpers/gantt.rb:184:in `render'<br /> app/models/project.rb:664:in `project_tree'<br /> app/models/project.rb:660:in `each'<br /> app/models/project.rb:660:in `project_tree'<br /> lib/redmine/helpers/gantt.rb:182:in `render'<br /> app/views/gantts/show.html.erb:54<br /> app/controllers/gantts_controller.rb:43:in `show'<br /> app/controllers/gantts_controller.rb:42:in `show'<br /> config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'</code></pre>
<p>Rendering /opt/redmine/apps/redmine/public/500.html (500 Internal Server Error)<br />------------------------------------------------------------------</p>
<p>Wen i open the Issue Chart i get the following Error:<br />------------------------------------------------------------------<br />Processing IssuesController#index (for 81.223.151.146 at 2011-08-12 11:13:16) [GET]<br /> Parameters: {"project_id"=>"newproductsuntory", "set_filter"=>"1", "action"=>"index", "tracker_id"=>"1", "controller"=>"issues"}<br />Rendering template within layouts/base<br />Rendering issues/index.rhtml</p>
<p>ActionView::TemplateError (undefined method `-' for nil:NilClass) on line <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: LDAP password are exposed in clear in the logs (Closed)" href="https://www.redmine.org/issues/28">#28</a> of app/views/issues/_list.rhtml:<br />25: </tr><br />26: <% previous_group = group <span>><br />27: <</span> end <span>><br />28: <tr id="issue-<</span>= issue.id <span>>" class="hascontextmenu <</span>= cycle('odd', 'even') <span>> <</span>= issue.css_classes <span>> <</span>= level > 0 ? "idnt idnt-#{level}" : nil <span>>"><br />29: <td class="checkbox hide-when-print"><</span>= check_box_tag("ids[]", issue.id, false, :id => nil) <span>></td><br />30: <td class="id"><</span>= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue <span>></td><br />31: <</span> query.columns.each do |column| <span>><</span>= content_tag 'td', column_content(column, issue), :class => column.css_classes <span>><</span> end %></p>
<pre><code>app/models/issue.rb:578:in `css_classes'<br /> app/views/issues/_list.rhtml:28:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'<br /> app/helpers/issues_helper.rb:27:in `issue_list'<br /> app/helpers/issues_helper.rb:23:in `each'<br /> app/helpers/issues_helper.rb:23:in `issue_list'<br /> app/views/issues/_list.rhtml:16:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'<br /> app/views/issues/_list.rhtml:1:in `_run_rhtml_app47views47issues47_list46rhtml_locals_issues_list_object_query'<br /> app/views/issues/index.rhtml:51:in `_run_rhtml_app47views47issues47index46rhtml'<br /> app/controllers/issues_controller.rb:92:in `index'<br /> app/controllers/issues_controller.rb:91:in `index'<br /> config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'</code></pre>
<p>Rendering /opt/redmine/apps/redmine/public/500.html (500 Internal Server Error)<br />------------------------------------------------------------------</p>
<p>The interesting point is, that this error appears only on one project. But i can't access any issue in this project over the menue and i don't have a number to try direct access.</p>
<p>Would be great if anybody have a idea how to solve this problem.</p> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=503252013-07-02T05:16:30ZLeonard Lin
<ul></ul><p>I would like to ask if there has been any update on this issue.<br />I experience the same problem.<br />I have 2 projects. On one of them I can't open the gant chart anymore.</p>
<p>ActionView::Template::Error (comparison of Issue with Issue failed):<br /> 89:<br /> 90: # Width of the entire chart<br /> 91: g_width = ((@gantt.date_to - @gantt.date_from + 1) * zoom).to_i<br /> 92: @gantt.render(:top => headers_height + 8,<br /> 93: :zoom => zoom,<br /> 94: :g_width => g_width,<br /> 95: :subject_width => subject_width)<br /> lib/redmine/helpers/gantt.rb:680:in `sort_issues!'<br /> lib/redmine/helpers/gantt.rb:217:in `render_project'<br /> lib/redmine/helpers/gantt.rb:201:in `render'<br /> app/models/project.rb:733:in `project_tree'<br /> app/models/project.rb:729:in `project_tree'<br /> lib/redmine/helpers/gantt.rb:199:in `render'<br /> app/views/gantts/show.html.erb:92:in `_app_views_gantts_show_html_erb___1765542175_10372'<br /> app/controllers/gantts_controller.rb:43:in `show'<br /> app/controllers/gantts_controller.rb:42:in `show'</p>
<p>my setup is:<br />redmine-2.3.1<br />jruby-1.7.4<br />rubygems-2.0.3<br />centos 6.4-64bit<br />Oracle JDK 1.7.0_25 64bit</p> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=503262013-07-02T06:31:51ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/7335">Defect #7335</a>: Sorting issues in gantt by date, not by id</i> added</li></ul> Redmine - Defect #7579: Gantt tab gives internal error.https://www.redmine.org/issues/7579?journal_id=503282013-07-02T06:38:43ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Wont fix</i></li></ul><p>This issues is probably caused by inconsistent data in your issues table.<br />Please see<br /><a class="external" href="https://www.chiliproject.org/issues/787#note-3">https://www.chiliproject.org/issues/787#note-3</a></p>
<p>Gantt sort was rewritten in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Sorting issues in gantt by date, not by id (Closed)" href="https://www.redmine.org/issues/7335">#7335</a>.</p>