Project

General

Profile

Better Gantt Chart

Added by Chris Darts about 13 years ago

I've just downloaded and tested the new Better Gantt Chart plugin. I am currently using the #2024 patch, so I tried the file 'redmine_better_gantt_chart-0.2.1-patch2024.zip'.

On the whole it looks like a good improvement to the Gantt chart functionality of Redmine, but it seems there are still a few issues. Here are my observations:

  1. When altering the start or due date on an issue it now correctly adjusts the start and due date of any related tasks that 'precede' or 'follow', which is great. I'm slightly confused why Redmine doesn't already handle this correctly.
  2. The arrows are a good addition to the visual layout
  3. Since installing the plugin, I now can't 'slide' the specific issue bars on the Gantt chart as I could previously through #2024. The hand curser icon no longer appears
  4. The recent fix in Redmine core (r4913) which truncated long issue subjects has been lost (see image attached)
  5. After changing a start or a due date through the Gantt chart interface using #2024 you still need to manually refresh the browser before it correctly displays (I think this is an issue with #2024, rather than this plugin)

Having the ability to quickly change start and due dates with inter-related issues through an easy to use interface is a must have for me. This plugin seems to be a good step in the right direction, however it would be great if the developers of this plugin and #2024 could get together to resolve some of these outstanding issues and maybe bundle all the changes into one plugin.

Chris


Replies (30)

RE: Better Gantt Chart - Added by Ivan Cenov about 13 years ago

I would like to see this plugin, or a mix of this plugin and #2024 embedded in the core of Redmine. The functionality (editing/adjusting start and due dates) is important and most people would be happy to have it.

RE: Better Gantt Chart - Added by Alexey Kuleshov about 13 years ago

Chris,

thanks for the feedback. I've fixed issues 3 and 4 from your list, you can download new version of the plugin here: http://www.redmine.org/attachments/5533/redmine_better_gantt_chart-0.2.2-patch2024.zip

Let me know if this helped.

5 is really an issue of #2024, I hope Hiroyuki Yoshioka will catch up and fix this as well!

Alexey

RE: Better Gantt Chart - Added by Chris Darts about 13 years ago

Alexey,

Thanks for your quick response to these bugs. I have downloaded the latest version through guthub ('patch2024' branch) and am happy to confirm it has resolved issues #3 and #4 from the list above. This is great.

I appreciate issue #5 is a problem with #2024 and out of your control.

Another bug I have just noticed with #2024 is that when you try to change the start or due date through the Gantt chart interface using the date picker, it automatically updates the date value (and therefore the bars on the Gantt chart) when you move between months, even if you haven't actually selected a date. I will report this bug through the correct channels.

Out of curiosity, how easy would it be to combine the code from patch #2024 and bundle it as one plugin? I can imagine this being a very popular plugin for anyone wanting to use Redmine as a proper project management and resource scheduling tool.

Thanks again for you work on this, it has come at exactly the right time for me.

RE: Better Gantt Chart - Added by Hiroyuki Yoshioka almost 13 years ago

Alexey Kuleshov wrote:

5 is really an issue of #2024, I hope Hiroyuki Yoshioka will catch up and fix this as well!

Hi Alexey,
I made a new patch for this bug.
Could you combine this patch and your plugin?

RE: Better Gantt Chart - Added by Alexey Kuleshov almost 13 years ago

Hiroyuki Yoshioka wrote:

Could you combine this patch and your plugin?

Hi, I updated the plugin for the new version of #2024, see here: http://www.redmine.org/attachments/5773/redmine_better_gantt_chart-0.2.3-patch2024.zip

RE: Better Gantt Chart - Added by Egory Ampster over 12 years ago

Using your plugin 0.5.3 on redmine 1.2.1 got from http://www.redmine.org/plugins/redmine_better_gantt_chart

clicking on Gannt tab raises internal server errror:

Processing GanttsController#show (for 192.168.1.5 at 2011-09-21 07:35:18) [GET]
Parameters: {"project_id"=>"incoming-shoot", "action"=>"show", "controller"=>"gantts"}

NoMethodError (undefined method `should_apply_for_default_query?' for #<GanttsController:0x8921d18>):
config/initializers/mongrel.rb:62:in `dispatch_cgi'

Rendering I:/ruby-apps/redmine/public/500.html (500 Internal Server Error)

RE: Better Gantt Chart - Added by Mseuda Adeusm over 12 years ago

Hi.
I can't see the arrows in pdf view. It's normal ?
Thanks.

RE: Better Gantt Chart - Added by Alexey Kuleshov over 12 years ago

Yes, I cannot add arrows in PDF so far. The problem is that PDF output is paginated, so I cannot just add image layer with arrows on top of text layer. Because of this someone needs to implement arrows for PDF gantt from scratch.

RE: Better Gantt Chart - Added by Mseuda Adeusm over 12 years ago

Hi. Maybe use another format like png ? But i'm not programmer... ^^

RE: Better Gantt Chart - Added by Allen S over 12 years ago

I'm having same problem as Egory Ampster

Processing GanttsController#show (for 12.12.12.12 at 2011-10-05 10:04:28) [GET]
Parameters: {"project_id"=>"datacenter", "action"=>"show", "controller"=>"gantts"}

NoMethodError (undefined method `should_apply_for_default_query?' for #<GanttsController:0x7fe5d2861608>):
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/utils.rb:479:in `safe_fork'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:180:in `start'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:357:in `__send__'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/data/redmine/passenger/passenger-3.0.5/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/data/redmine/passenger/passenger-3.0.5/helper-scripts/passenger-spawn-server:99

Rendering /data/redmine/redmine/public/500.html (500 Internal Server Error)

No recent changes that we know of, it just stopped working. Thoughts?

RE: Better Gantt Chart - Added by Egory Ampster over 12 years ago

We've figured out that this error is caused by another plugin (redmine_default_columns), it's plugin conflict...In my case I've just disabled Better Gantt because redmine_default_columns is more important...

RE: Better Gantt Chart - Added by Alexey Kuleshov over 12 years ago

Yes, the reason is the redmine_default_columns plugin, which is monkey-patching some methods in a wrong way. Well, I can probably issue my own version of this plugin with this fixed, if there is a demand...

RE: Better Gantt Chart - Added by Allen S over 12 years ago

Yes, please

RE: Better Gantt Chart - Added by Alexey Kuleshov over 12 years ago

OK, I quickly patched the original redmine_default_columns plugin, so now it should be compatible with the Better Gantt Chart and other plugins. Source code is here: https://github.com/kulesa/redmine_default_columns, or you can grab the attached zip.

Replace the old redmine_default_columns with content of this zip file, and it should just work after restart of Redmine. Unfortunately, this plugin doesn't have any specs, so I cannot be 100% sure it is worked as expected - please test!

Hope this helps.

RE: Better Gantt Chart - Added by Allen S over 12 years ago

Can you confirm, was the change you made based off revision .6 of the redmine_default_columns?

Thanks

RE: Better Gantt Chart - Added by Allen S over 12 years ago

Thanks, I will be trying it tomorrow afternoon and will let you know by Monday.

Best Regards,

Allen

RE: Better Gantt Chart - Added by Allen S over 12 years ago

This looks good, the Gantt and default columns functionality are now working.

Thanks,

Allen

RE: Better Gantt Chart - Added by Vineeta Pillai over 12 years ago

Than you so much Alexey for the efforts your put in getting this fix done. That gantt chart is now more useful. :)

RE: Better Gantt Chart - Added by Anonymous over 12 years ago

Hello,

Is 0.5.3 supposed to work in conjunction with #2024?

I tried it, but unfortunately 0.5.3 overtakes the screen and dragging is no longer possible.

Currently I can run #2024 + 0.2.3 but this removes the option to export to PNG.

Any support would be greatly appreciated.

Thank you

RE: Better Gantt Chart - Added by Alexey Kuleshov over 12 years ago

Andreas Lausenhammer: no, it doesn't work with #2024. I abandoned support of compatibility with this patch because it turned out to be a lot of work. I am planning to reproduce the features #2024 in my plugin when time allows, but cannot promise it happens any time soon.

RE: Better Gantt Chart - Added by R Nyren over 12 years ago

does anyone know if the current Better Gantt plug-in is compantible with 1.3.0
thanks

We have redmine 1.3.0 (2011-12-10)

This is the error:
ActionView::TemplateError (undefined method `gantt_path' for #<ActionView::Base:0x89abdd8>) on line #7 of vendor/plugins/redmine_better_gantt_chart/app/views/gantts/show.html.erb:
4: <% @gantt.view = self >
5: <h2><
= l(:label_gantt) ></h2>
6:
7: <
form_tag(gantt_path(:month => params[:month], :year => params[:year], :months => params[:months]), :method => :put, :id => 'query_form') do >
8: <
= hidden_field_tag('project_id', @project.to_param) if Herve Harster%>
9: <fieldset id="filters" class="collapsible">
10: <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>

vendor/plugins/redmine_better_gantt_chart/app/views/gantts/show.html.erb:7
app/controllers/gantts_controller.rb:43:in `show'
app/controllers/gantts_controller.rb:42:in `show'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

RE: Better Gantt Chart - Added by Alexey Kuleshov over 12 years ago

It works 1.3.0 if you use the latest version from the git repo here https://github.com/kulesa/redmine_better_gantt_chart.

I'll prepare new zip with the plugin and post an update here shortly.

RE: Better Gantt Chart - Added by Alexey Kuleshov over 12 years ago

I updated plugin version on the download page, you can grab it here: http://www.redmine.org/attachments/6938/redmine_better_gantt_chart-0.5.5.zip

Should work with Redmine 1.3.0.

RE: Better Gantt Chart - Added by R Nyren over 12 years ago

Alexey; yes. that solved it.
just exploring your add-in to see if it helps with our needs.
your prompt (and unexpected) action is very much appreciated.

(1-25/30)