Project

General

Profile

Defect #1593

Displaying backlog for developers generates an error

Added by Johan Dahl 3 months ago.

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

Description

Hi

I have developers which has the right to view but not change the backlog. However the get this message:

Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

In the log the following error is generated:

Started GET "/product_backlog/4" for ********** at 2021-01-21 15:14:02 +0100
Processing by ProductBacklogController#show as HTML
  Parameters: {"id"=>"4"}
  Current user: **** (id=20)
  Rendering plugins/scrum/app/views/product_backlog/show.html.erb within layouts/base
  Rendered plugins/scrum/app/views/help/product_backlog/_board.html.erb (0.1ms)
  Rendered plugins/scrum/app/views/help/_support.html.erb (0.2ms)
  Rendered plugins/scrum/app/views/help/_help.js.erb (0.1ms)
  Rendered plugins/scrum/app/views/help/_help.html.erb (1.2ms)
  Rendered plugins/scrum/app/views/common/_scrum_backlog_menu.html.erb (3.6ms)
  Rendered plugins/scrum/app/views/post_its/product_backlog/_head.html.erb (1.2ms)
  Rendered plugins/scrum/app/views/product_backlog/show.html.erb within layouts/base (5.2ms)
Completed 500 Internal Server Error in 59ms (ActiveRecord: 10.9ms)

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___4477036259894228913_70123903873960'
plugins/scrum/app/views/product_backlog/show.html.erb:6:in `_plugins_scrum_app_views_product_backlog_show_html_erb__2537256310984121165_70123905021700'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'

I doesn't matter if I give them the right to edit the backlog. However if I give them the right Manage Sprints will it work. But I don't want them to have this right.

No data to display

Also available in: Atom PDF