Redmine 2.1 - Export Gantt to PDF ->Error 500

Added by Jonathan Tee almost 7 years ago

Hi,

if i try to export my gantt to pdf, i get an Error 500.

Anyone can confirm this?

Started GET "/redmine/projects/xxx/issues/gantt.pdf?month=10&months=6&year=2011&zoom=2" for 14.xx.xxx.x at Fri Oct 19 09:12:32 +0200 2012

NoMethodError (undefined method `to_ary' for #<Mime::Type:0x2b1f3d4b16f8>):
actionpack (3.2.8) lib/action_dispatch/http/mime_type.rb:270:in `method_missing'
actionpack (3.2.8) lib/action_dispatch/http/mime_negotiation.rb:55:in `Array'
actionpack (3.2.8) lib/action_dispatch/http/mime_negotiation.rb:55:in `formats'
actionpack (3.2.8) lib/action_dispatch/http/mime_negotiation.rb:49:in `format'
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:22:in `process_action'
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
...

Environment:
Redmine version 2.1.0.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.8
Environment production
Database adapter MySQL