Project

General

Profile

Bug #17599

Smart variables allow you to select 'none' class

Added by Daniel Lobato Garcia over 5 years ago. Updated almost 4 years ago.

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

Description

When you edit a smart variable, it allows in the form to 'not' associate it with any Puppet class. This doesn't show any error on the UI, however it's not associated and you will see "Failed to save: Puppetclass can't be blank" on the logs.


Related issues

Related to Foreman - Bug #17902: smart variable puppet class should not be auto selectedClosed2017-01-03

Associated revisions

Revision d575bdd6 (diff)
Added by Daniel Lobato Garcia over 5 years ago

Fixes #17599 - Smart vars allow you to select 'none' class

When you edit a smart variable, it allows in the form to 'not' associate
it with any Puppet class. This doesn't show any error on the UI, however
it's not associated and you will see "Failed to save: Puppetclass can't
be blank" on the logs.

History

#1 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4091 added

#2 Updated by Anonymous over 5 years ago

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

#3 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 210

#4 Updated by Daniel Lobato Garcia over 5 years ago

  • Target version set to 1.4.3

#5 Updated by Ohad Levy over 5 years ago

  • Related to Bug #17902: smart variable puppet class should not be auto selected added

#6 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 210 to 209

Also available in: Atom PDF