Bug #17599

Smart variables allow you to select 'none' class

Added by Daniel Lobato Garcia 6 months ago. Updated 5 months ago.

Status:Closed
Priority:Normal
Assigned To:Daniel Lobato Garcia
Category:Smart Variables
Target version:Team Daniel - iteration 6
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4091
Story points-
Velocity based estimate-
Release1.15.0Release relationshipAuto

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 selected Closed 01/03/2017

Associated revisions

Revision d575bdd6
Added by Daniel Lobato GarcĂ­a 5 months 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 6 months ago

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

#2 Updated by Anonymous 5 months ago

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

#3 Updated by Dominic Cleal 5 months ago

  • Release set to 1.14.1

#4 Updated by Daniel Lobato Garcia 5 months ago

  • Target version set to Team Daniel - iteration 6

#5 Updated by Ohad Levy 5 months ago

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

#6 Updated by Dominic Cleal 5 months ago

  • Release changed from 1.14.1 to 1.15.0

Also available in: Atom PDF