Skip to content

internal 500 error #110

Description

@sporch08

First, thank you for provide this nice tool for us, but I have some problem to use it.
I follow up the instruction to install this plugin, but I can't see tab "Release notes" on my project. and when I clicked version link of the tab: "Roadmap", the error occurs. detail error message as below:

Started GET "/versions/31" for 10.20.64.176 at 2014-01-17 11:28:51 +0800
Processing by VersionsController#show as HTML
Parameters: {"id"=>"31"}
Current user: admin (id=1)
Rendered versions/_overview.html.erb (15.6ms)
Rendered versions/_issue_counts.html.erb (0.0ms)
Rendered plugins/redmine_release_notes/app/views/release_notes/_dashboard.html.erb (31.3ms)
Rendered plugins/redmine_release_notes/app/views/hooks/release_notes/_version_show_bottom.html.erb (31.3ms)
Rendered versions/show.html.erb within layouts/base (62.5ms)
Completed 500 Internal Server Error in 94ms

ActionView::Template::Error (undefined method name' for nil:NilClass): 1: <% stats = version.release_notes_stats %> 2: <% cf_none_value = Setting.plugin_redmine_release_notes[:field_value_not_required] %> 3: <% cf_name = CustomField.find_by_id(Setting.plugin_redmine_release_notes[:issue_custom_field_id]).name %> 4: 5: <fieldset id="release-notes-completion"> 6: <legend><%= l('release_notes.progress') %></legend> lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
lib/redmine/hook.rb:158:in call_hook' app/views/versions/show.html.erb:52:in_app_views_versions_show_html_erb___535711117_26868348'

another question, when I trying to uninstall this plugin, but it seems not work, the error message as below:

D:\redmine-2.3.3>rake redmine:plugins:migrate NAME=redmine_releas
e_notes VERSION=0 RAILS_ENV=production
Migrating redmine_release_notes (Redmine release notes plugin)...
== DoEverythingForVersion131: reverting ======================================
-- change_table(:release_notes)
rake aborted!
An error has occurred, all later migrations canceled:

Mysql2::Error: Duplicate column name 'status': ALTER TABLE release_notes ADD status varchar(12)D:/redmine-2.3.3/plugins/redmine_release_notes
/db/migrate/004_do_everything_for_version_131.rb:30:in block in down' D://redmine-2.3.3/plugins/redmine_release_notes/db/migrate/004_do_ everything_for_version_131.rb:29:indown'
D:in migrate' D:/redmine-2.3.3/lib/redmine/plugin.rb:453:inmigrate_plugin'
D:/redmine-2.3.3/lib/redmine/plugin.rb:425:in migrate' D:/redmine-2.3.3/lib/redmine/plugin.rb:436:inmigrate'
D:/redmine-2.3.3/lib/tasks/redmine.rake:74:in `block (3 levels) i
n <top (required)>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

my redmine version is 2.3.3, and os platform is windows x86. Please give me some advice to use it or to uninstall it, thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions