Project

General

Profile

Error #641

Fail to enter import issues from file

Added by Emilio González Montaña over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Import issues
Target version:
Start date:
2012-02-01
Due date:
2012-02-01
% Done:

100%

Estimated time:
Source:
Customer
Detected on version:
Milestones:

Description

NoMethodError in IssuesController#show

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each

RAILS_ROOT: /var/www/redmine-1.2.1
Application Trace | Framework Trace | Full Trace

/var/www/redmine-1.2.1/vendor/plugins/advanced_roadmap/lib/advanced_roadmap/issues_controller_patch.rb:13:in `render'
/var/www/redmine-1.2.1/app/controllers/application_controller.rb:305:in `render_error'
/var/www/redmine-1.2.1/app/controllers/application_controller.rb:303:in `render_error'
/var/www/redmine-1.2.1/app/controllers/application_controller.rb:291:in `render_404'
/var/www/redmine-1.2.1/app/controllers/issues_controller.rb:268:in `find_issue'

Request

Parameters:

{"project_id"=>"e1132-11-02",
 "id"=>"import"}

Show session dump
Response

Headers:

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

Associated revisions

Revision 1384 (diff)
Added by Emilio González Montaña over 7 years ago

#641
  • Added config/routes.rb to define a route for the import action on the issues controller.
  • Removed not necessary find_project from the issues_controller_patch.rb, use the IssuesController one instead.

Revision 1385 (diff)
Added by Emilio González Montaña over 7 years ago

#641
  • Removed ImportExportController, it wasn't been used.
  • Incremented plugin version (0.1.2) and Redmine dependency (>=1.2.0).
  • Fixed links on sidebar and impor template file.

History

#1 Updated by Emilio González Montaña over 7 years ago

  • Due date set to 2012-02-01
  • Status changed from New to Resolved
  • Assignee set to Emilio González Montaña
  • Start date set to 2012-02-01
  • % Done changed from 0 to 100

Also available in: Atom PDF