Project

General

Profile

Actions

Bug #14847

closed

error creating job template: ActiveModel::ForbiddenAttributesError in JobTemplatesController#update ActiveModel::ForbiddenAttributesError

Added by Thomas McKay almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Created a job template and then tried to edit it, adding to a location:

2016-04-27T07:23:06 [app] [F] 
 | ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):
 |   app/controllers/templates_controller.rb:56:in `update'
 |   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'

Actions #1

Updated by Thomas McKay almost 8 years ago

  • Subject changed from unable to assign job template to location or organization: ActiveModel::ForbiddenAttributesError in JobTemplatesController#update ActiveModel::ForbiddenAttributesError to error creating job template: ActiveModel::ForbiddenAttributesError in JobTemplatesController#update ActiveModel::ForbiddenAttributesError

To reproduce:
1. Clone an existing template
2. Change name
3. Attempt to save

I thought it had to do w/ org/loc but unsure now.

Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/182 added
Actions #3

Updated by Stephen Benjamin almost 8 years ago

  • Assignee deleted (Stephen Benjamin)

No need to clone, it happens on creating any template at all.

Actions #4

Updated by Stephen Benjamin almost 8 years ago

  • Assignee set to Stephen Benjamin
Actions #5

Updated by Marek Hulán almost 8 years ago

  • translation missing: en.field_release set to 156
Actions #6

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF