Project

General

Profile

Actions

Bug #15001

closed

Widgets on policy dashboard break the page

Added by Ondřej Pražák almost 8 years ago. Updated over 7 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 #1

Updated by Ondřej Pražák almost 8 years ago

Actions #2

Updated by Ondřej Pražák almost 8 years ago

  • Related to Bug #14253: Saving dashboard widget positions fails under Rails 4.2 added
Actions #3

Updated by Tomer Brisker over 7 years ago

Is this still an issue? if so, please provide steps to reproduce.

Actions #4

Updated by Ondřej Pražák over 7 years ago

  • Status changed from New to Closed
  • Pull request https://github.com/theforeman/foreman_openscap/pull/168 added

This is no longer an issue, there was a mismatch in a ticket number.

Actions #5

Updated by Dominic Cleal over 7 years ago

  • Project changed from 36 to OpenSCAP
  • Triaged set to Yes
  • Pull request deleted (https://github.com/theforeman/foreman_openscap/pull/168)
Actions

Also available in: Atom PDF