hdgarrood / redmine_release_notes

A plugin to add release notes to Redmine
GNU General Public License v3.0
73 stars 46 forks source link

test in Redmine 1.3.0, and an error happened when I open the release_notes index #1

Closed archonwang closed 12 years ago

archonwang commented 12 years ago

the error log is :


Processing ReleaseNotesController#index (for 192.168.3.29 at 2012-01-17 10:15:00) [GET] Parameters: {"project_id"=>"dmy", "action"=>"index", "controller"=>"release_notes"}

NoMethodError (undefined method value' for nil:NilClass): vendor/plugins/redmine_release_notes/app/controllers/release_notes_controller.rb:24:inindex' vendor/plugins/redmine_release_notes/app/controllers/release_notes_controller.rb:24:in reject!' vendor/plugins/redmine_release_notes/app/controllers/release_notes_controller.rb:24:inindex'

Rendering /usr/local/redmine-1.3/public/500.html (500 Internal Server Error)

My enviroment:

Redmine 1.3.0.stable.8195 (MySQL)

Ruby version 1.8.7 (i686-linux) RubyGems version 1.3.7 Rack version 1.1.2 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Application root /usr/local/redmine-1.3 Environment production Database adapter mysql Database schema version 20110902000000

hdgarrood commented 12 years ago

What's happening is it's trying to get the value of custom fields which don't exist. I'm going to sort this out soon, but do bear in mind that this isn't quite finished yet.

hdgarrood commented 12 years ago

Okay, read the new wiki, and try again with the latest version. This should be fixed now. Cheers for the bug report btw!