Actions
Defect #6250
closedClearing gantt does not display gantt with default filter settings
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
2010-08-31
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
If you go to the gantt tab of one of your projects containing the gantt module and use the clear button (to reset filters), the gantt chart is removed as well as the filter form.
This results in a blank page (see attachment).
Files
Related issues
Updated by Mischa The Evil about 14 years ago
- Assignee set to Eric Davis
The error reported was:
Processing IssuesController#gantt (for xxx.xxx.xxx.xxx at 2010-10-02 00:00:00) [POST] Parameters: {"set_filter"=>"1", "action"=>"gantt", "authenticity_token"=>"XXX", "controller"=>"issues"} Filter chain halted as [:authorize] rendered_or_redirected. Completed in 14ms (View: 2, DB: 2) | 403 Forbidden [http://redmine.host.tld/issues/gantt?set_filter=1]
Quick patch to fix the issue:
Index: app/views/gantts/show.html.erb
===================================================================
--- app/views/gantts/show.html.erb (revision 4101)
+++ app/views/gantts/show.html.erb (working copy)
@@ -31,6 +31,7 @@
<%= link_to_remote l(:button_clear),
{ :url => { :set_filter => (@query.new_record? ? 1 : nil) },
:update => "content",
+ :method => :put,
}, :class => 'icon icon-reload' if @query.new_record? %>
</p>
<% end %>
I noticed that the apply button works as expected without the specific param. Is it due to the use of the form-builder or have I missed something?
Updated by Mischa The Evil about 14 years ago
I spoke too soon... With the above mentioned patch applied I now am being redirected to the global gantt whenever I click the "Clear"-link from within a projects gantt.
Updated by Mischa The Evil about 14 years ago
Updated by Mischa The Evil about 14 years ago
- Status changed from New to Closed
- Assignee deleted (
Eric Davis) - Resolution set to Duplicate
Closed as a dup of #6473.
Actions