Project

General

Profile

Defect #793

用語集をCSVで出力できないことがある

Added by Shinji Kawakami over 8 years ago. Updated about 8 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Target version:
Start date:
07/15/2011
Due date:
% Done:

100%

Estimated time:

Description

用語集をCSV出力するときに、Internal Errorが発生することがあります。

社内の環境で報告されましたが、システム管理者権限では再現することが出来ませんでした。

発生時のログを添付します。

NoMethodError (undefined method `each' for #<Term:0xb698ed68>):
  vendor/plugins/redmine_glossary/app/helpers/glossary_port_helper.rb:25:in `glossary_to_csv'
  lib/faster_csv.rb:1053:in `generate'
  vendor/plugins/redmine_glossary/app/helpers/glossary_port_helper.rb:16:in `glossary_to_csv'
  vendor/plugins/redmine_glossary/app/controllers/glossary_controller.rb:44:in `index'
  vendor/plugins/redmine_glossary/app/controllers/glossary_controller.rb:42:in `index'
  passenger (2.2.5) lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'
  passenger (2.2.5) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:378:in `start_request_handler'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:336:in `handle_spawn_application'
  passenger (2.2.5) lib/phusion_passenger/utils.rb:183:in `safe_fork'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:163:in `start'
  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Related issues

Has duplicate Glossary - Defect #806: export csv file contain the error終了(Closed)07/26/2011

Actions

History

#1

Updated by Mitsuyoshi Yoshida about 8 years ago

  • Status changed from 新規(New) to 担当(Assigned)
  • Assignee set to Mitsuyoshi Yoshida
  • Target version set to 0.6.0
#2

Updated by Mitsuyoshi Yoshida about 8 years ago

  • Status changed from 担当(Assigned) to 終了(Closed)
  • % Done changed from 0 to 100

修正しました。 グループ化なし を選択している状態で CSV 出力をすると発生するバグでした。

Also available in: Atom PDF