Bug #5169

Setting a class parameter to an invalid value needs to have more obvious error message
Description
This occurs when overriding a parameter for a puppetclass. If you set an invalid value (like tru for a boolean type), it will return to the 'Puppet Class' tab within your class edit. You then have to know to click on 'Smart Class Parameter' to view the red reported errors.
Related issues
Associated revisions
Fixes #5169 - Error in smart class param or value cause tab header to turn red in Puppet Class edit form
(cherry picked from commit 3d42bbe5af6ff5201e127ffd5681e9ffb330f909)
History
#1
Updated by Stephen Benjamin about 9 years ago
- Related to Tracker #4470: Usability of parameters and overrides added
#2
Updated by Ori Rabin over 8 years ago
- Status changed from New to Assigned
- Assignee set to Ori Rabin
#3
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Target version set to 1.7.2
- Pull request https://github.com/theforeman/foreman/pull/1820 added
- Pull request deleted (
)
#4
Updated by Ori Rabin over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 3d42bbe5af6ff5201e127ffd5681e9ffb330f909.
#5
Updated by Ori Rabin over 8 years ago
- Related to Bug #8417: Error in smart class param or value doesn't focus on element with error added
#6
Updated by Dominic Cleal over 8 years ago
- Category set to Web Interface
- Legacy Backlogs Release (now unused) set to 21
Fixes #5169 - Error in smart class param or value cause tab header to turn red in Puppet Class edit form