Project

General

Profile

Defect #806

export csv file contain the error

Added by Steven Wong about 8 years ago. Updated about 8 years ago.

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

100%

Estimated time:

Description

when I export the CSV,there's an error as follows:

NoMethodError in GlossaryController#index

undefined method `each' for #<Term:0x6dce498>

RAILS_ROOT: D:/redmine
Application Trace | Framework Trace | Full Trace

D:/redmine/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:260:in `method_missing'
D:/redmine/vendor/plugins/redmine_glossary/app/helpers/glossary_port_helper.rb:25:in `glossary_to_csv'
D:/redmine/lib/faster_csv.rb:1053:in `generate'

Request

Parameters:

{"format"=>"csv",
"id"=>"demoprj"}

Show session dump
Response

Headers:

{"Content-Type"=>"text/csv",
"Cache-Control"=>"no-cache"}

I'm not very sure whether I have installed failure. anyone could tell me? thanks.


Related issues

Is duplicate of Glossary - Defect #793: 用語集をCSVで出力できないことがある終了(Closed)07/15/2011

Actions

Associated revisions

Revision 59 (diff)
Added by Mitsuyoshi Yoshida about 8 years ago

Bugfix export csv (refs #806)

History

#1

Updated by Steven Wong about 8 years ago

It seems the same problem like #793.

#2

Updated by Mitsuyoshi Yoshida about 8 years ago

  • Assignee set to Mitsuyoshi Yoshida
  • Target version set to 0.6.0
#3

Updated by Mitsuyoshi Yoshida about 8 years ago

  • Status changed from 新規(New) to 終了(Closed)
  • % Done changed from 0 to 100

I fixed this bug. It occurred when the Grouping setting was None.

Also available in: Atom PDF