Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open issue details occured error #33

Open
archonwang opened this issue Dec 29, 2017 · 3 comments
Open

open issue details occured error #33

archonwang opened this issue Dec 29, 2017 · 3 comments
Labels

Comments

@archonwang
Copy link

archonwang commented Dec 29, 2017

@alexwais , please help to check it. Thanks

log as follow

Started GET "/issues/12070" for 192.168.20.253 at 2017-12-29 15:37:34 +0800
Processing by IssuesController#show as HTML
  Parameters: {"id"=>"12070"}
  Current user: qianlan.xue (id=23)
STATEMENT 
STATEMENT (issues.status_id IN (SELECT id FROM issue_statuses WHERE is_closed=0))
  Rendered plugins/redmine_blocked_reason/app/views/issues/_action_menu.html.erb (11.2ms)
  Rendered plugins/redmine_workflow_hidden_fields/app/views/issues/show.html.erb within layouts/base (2394.1ms)
Completed 500 Internal Server Error in 3733ms (ActiveRecord: 244.9ms)


ActionView::Template::Error (undefined method `render_full_width_custom_fields_rows' for #<#<Class:0x007f741ceee728>:0x0000000ac5ce98>):
    118: 	end	
    119:   end
    120: end %>
    121: <%= render_full_width_custom_fields_rows(@issue) %>
    122: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
    123: </div>
    124: 
  plugins/redmine_workflow_hidden_fields/app/views/issues/show.html.erb:121:in `_494688b6fab6999650dae9d6c5880600'
  plugins/redmine_spent_time_in_issue_description/lib/issues_controller_patch.rb:36:in `block (2 levels) in show_with_plugin'
  plugins/redmine_spent_time_in_issue_description/lib/issues_controller_patch.rb:33:in `show_with_plugin'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'
@alexwais alexwais added the bug label Mar 26, 2018
@postmxa
Copy link

postmxa commented Mar 30, 2020

same here.
Started GET "/issues/86" for XXXXX at 2020-03-30 14:51:28 +0200
Processing by IssuesController#show as HTML
Parameters: {"id"=>"86"}
Current user: muuser (id=5)
Rendering plugins/redmine_workflow_hidden_fields/app/views/issues/show.html.erb within layouts/base
Rendered issues/_action_menu.html.erb (10.3ms)
Rendered plugins/redmine_workflow_hidden_fields/app/views/issues/show.html.erb within layouts/base (289.1ms)
Completed 500 Internal Server Error in 647ms (ActiveRecord: 58.7ms)

ActionView::Template::Error (undefined method `render_half_width_custom_fields_rows' for #<#Class:0x00007f16f4970b00:0x00007f16f5523128>
Did you mean? render_custom_fields_rows):
124: end
125: end
126: end %>
127: <%= render_half_width_custom_fields_rows(@issue) %>
128: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
129:
130:

plugins/redmine_workflow_hidden_fields/app/views/issues/show.html.erb:127:in _plugins_redmine_workflow_hidden_fields_app_views_issues_show_html_erb__4076554045837913113_69868290901780' app/controllers/issues_controller.rb:107:in block (2 levels) in show'
app/controllers/issues_controller.rb:100:in show' plugins/redmine_per_project_formatting/lib/redmine_per_project_formatting/application_controller_patch.rb:24:in block in change_text_formatting'
plugins/redmine_per_project_formatting/lib/redmine_per_project_formatting/setting_patch.rb:19:in within_text_formatting' plugins/redmine_per_project_formatting/lib/redmine_per_project_formatting/application_controller_patch.rb:23:in change_text_formatting'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

@postmxa
Copy link

postmxa commented Mar 30, 2020

FIX:

replacing:
<%= render_half_width_custom_fields_rows(@issue) %>
to
<%= render_custom_fields_rows(@issue) %>
in show.html.erb file
fixed problem for me, but I'm not ruby or ROR person so..

diff show.html.erb show.html.erb.old
127c127
< <%= render_custom_fields_rows(@issue) %>
---
> <%= render_half_width_custom_fields_rows(@issue) %>
150c150
< <%= render_custom_fields_rows(@issue) %>
---
> <%= render_full_width_custom_fields_rows(@issue) %>

@tianyang-abc
Copy link

tianyang-abc commented Nov 17, 2020

FIX:

replacing:
<%= render_half_width_custom_fields_rows(@issue) %>
to
<%= render_custom_fields_rows(@issue) %>
in show.html.erb file
fixed problem for me, but I'm not ruby or ROR person so..

diff show.html.erb show.html.erb.old
127c127
< <%= render_custom_fields_rows(@issue) %>
---
> <%= render_half_width_custom_fields_rows(@issue) %>
150c150
< <%= render_custom_fields_rows(@issue) %>
---
> <%= render_full_width_custom_fields_rows(@issue) %>

Your way is OK because other plugin has modified show.html.erb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants