Project

General

Profile

Actions

Bug #15001

closed

Widgets on policy dashboard break the page

Added by Ondřej Pražák almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Related to Rails 4.2 and changes in core:

ActionView::Template::Error (Can't mass-assign protected attributes for Widget: template, name):

/home/oprazak/projects/foreman_openscap/app/views/policy_dashboard/index.html.erb:9:in `block in _cda061a0ea9452c842f125a594f9f51e'
/home/oprazak/projects/foreman_openscap/app/views/policy_dashboard/index.html.erb:8:in `each'
/home/oprazak/projects/foreman_openscap/app/views/policy_dashboard/index.html.erb:8:in `_cda061a0ea9452c842f125a594f9f51e'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Related issues 2 (0 open2 closed)

Related to Foreman - Refactor #14997: Accessible attributes for widgetRejectedOndřej Pražák05/11/2016Actions
Related to Foreman - Bug #14253: Saving dashboard widget positions fails under Rails 4.2ClosedDominic Cleal03/17/2016Actions
Actions

Also available in: Atom PDF