Project

General

Profile

Defect #1372

undefined method `tag_disabled'

Added by nauman tariq over 4 years ago. Updated about 4 years ago.

Status:
新規(New)
Priority:
急いで(Urgent)
Assignee:
-
Category:
-
Target version:
-
Start date:
03/13/2015
Due date:
% Done:

0%

Estimated time:

Description

具体的な再現方法
What steps will reproduce the problem?

upgrading redmine to latest 3.0 and upgrading wiki extension

期待する結果と実際の結果
What is the expected output? What do you see instead?
settings page show internal error

下記コマンドの実行結果を教えてください。
Please give us a result of following command.

% ruby script/about
script/about no longer exists, please use bin/about instead.
why you need that?

Please provide any additional information below.
Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions_settings/_show.html.erb (6.9ms)
Rendered common/_tabs.html.erb (235.2ms)
Rendered projects/settings.html.erb within layouts/base (235.8ms)
Completed 500 Internal Server Error in 247ms

ActionView::Template::Error (undefined method `tag_disabled' for #<WikiExtensionsSetting:0x00000004696e60>):
49: </p>
50:
51: <p>
52: <%= f.check_box 'tag_disabled' %>
53: </p>
54:
55: <hr/>

History

#1

Updated by y n about 4 years ago

have same issue.

Started GET "/projects/projname/settings" for 127.0.0.1 at 2015-06-04 13:17:12 +0300
Processing by ProjectsController#settings as HTML
  Parameters: {"id"=>"projname"}
  Current user: y.n (id=13)
  Rendered projects/_form.html.erb (72.9ms)
  Rendered projects/_edit.html.erb (75.2ms)
  Rendered projects/settings/_modules.html.erb (7.9ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (3.7ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (3.0ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.6ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.5ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (5.1ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.6ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (3.2ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.4ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.4ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.5ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.5ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.5ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.6ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.5ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.7ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.6ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.7ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.6ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.7ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (3.5ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (3.1ms)
  Rendered plugins/redmine_rate/app/views/projects/_settings_members.html.erb (2.7ms)
  Rendered projects/settings/_members.html.erb (349.0ms)
  Rendered projects/settings/_versions.html.erb (4.6ms)
  Rendered projects/settings/_issue_categories.html.erb (2.0ms)
  Rendered projects/settings/_wiki.html.erb (2.0ms)
  Rendered projects/settings/_repositories.html.erb (1.5ms)
  Rendered projects/settings/_activities.html.erb (16.9ms)
  Rendered plugins/redmine_issue_templates/app/views/issue_templates_settings/_show.html.erb (4.4ms)
  Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions_settings/_show.html.erb (7.1ms)
  Rendered common/_tabs.html.erb (479.4ms)
  Rendered projects/settings.html.erb within layouts/base (480.3ms)
Completed 500 Internal Server Error in 493ms (ActiveRecord: 17.2ms)

ActionView::Template::Error (undefined method `tag_disabled' for #<WikiExtensionsSetting:0x0000000935c240>):
    49:       </p>
    50:
    51:       <p>
    52:         <%= f.check_box 'tag_disabled' %>
    53:       </p>
    54:
    55:       <hr/>
  lib/redmine/views/labelled_form_builder.rb:34:in `check_box'
  app/helpers/application_helper.rb:1026:in `labelled_form_for'
  app/views/common/_tabs.html.erb:22:in `block in _app_views_common__tabs_html_erb___285297438888766792_78791520'
  app/views/common/_tabs.html.erb:21:in `each'
  app/views/common/_tabs.html.erb:21:in `_app_views_common__tabs_html_erb___285297438888766792_78791520'
  app/helpers/application_helper.rb:321:in `render_tabs'
  app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__3327717220488794062_79129000'

clean installation works fine, but migrating fails.

#2

Updated by y n about 4 years ago

ok... after some research i found error: there was no column tag_disabled.

so i fixed it like that:

 alter table redmine.wiki_extensions_settings add column tag_disabled bool;

Also available in: Atom PDF