Bug #17599
Smart variables allow you to select 'none' class
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
Associated revisions
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
Applied in changeset d575bdd65847c7d76297bf93a19c6642db4f26c2.
#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
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.