Project

General

Profile

Defect #1601

Error 500 rendering product_backlog with regular user

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

Status:
Resolved
Priority:
Normal
Category:
Product backlog
Target version:
Source:
Development
Detected on version:
Blocked:
No
Alone:
Yes
Milestones:
Sprint:

Description

Rendering product backlog with a non admin user (without all permissions), error 500 happens with this log:

Rendered plugins/scrum/app/views/product_backlog/show.html.erb within layouts/base (3.9ms)
Completed 500 Internal Server Error in 25ms (ActiveRecord: 7.8ms)

ActionView::Template::Error (unable to convert unpermitted parameters to hash):
    1: <tr valign="top">
    2:   <td width="300px">
    3:     <div class="tabular">
    4:       <%- filtered_params = params.to_h.symbolize_keys.except(:controller, :action, :id) -%>
    5:       <p>
    6:         <label><%= l(:label_product_backlog) %>:</label>
    7:         <%- options = product_backlog.project.product_backlogs.collect{ |other_product_backlog|

plugins/scrum/app/views/post_its/product_backlog/_head.html.erb:4:in `_plugins_scrum_app_views_post_its_product_backlog__head_html_erb__1543576164882011471_70228777973220'
plugins/scrum/app/views/product_backlog/show.html.erb:6:in `_plugins_scrum_app_views_product_backlog_show_html_erb___560962051086043067_30432040'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
#1

Updated by Emilio González Montaña over 2 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF