Project

General

Profile

Bug #12068

Prepend puppetclass or variable to lookup_key_id

Added by Daniel Lobato Garcia almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Parameters for some objects such as EnvironmentClass, are passed as simply lookup_key_id. On Rails 3 parameters are not as strongly checked and it works just fine, however on Rails 4 parameters will depend on the associations of the model. This means we should specify what kind of lookup_key is it.

Associated revisions

Revision d8f97235 (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Fixes #12068 - Prepend puppetclass or variable to lookup_key_id

Parameters for some objects such as EnvironmentClass, are passed as
simply lookup_key_id. On Rails 3 parameters are not as strongly checked
and it works just fine.

On Rails 4 parameters will depend on the associations of the model.
This means we should specify what kind of lookup_key is it.

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2780 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 71

#3 Updated by Daniel Lobato Garcia almost 4 years ago

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

Also available in: Atom PDF