Project

General

Profile

Bug #5169

Setting a class parameter to an invalid value needs to have more obvious error message

Added by Anonymous about 5 years ago. Updated 11 months ago.

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

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

Related to Foreman - Tracker #4470: Usability of parameters and overridesNew

Related to Foreman - Bug #8417: Error in smart class param or value doesn't focus on element with errorClosed2014-11-17

Associated revisions

Revision 3d42bbe5 (diff)
Added by Ori Rabin over 4 years ago

Fixes #5169 - Error in smart class param or value cause tab header to turn red in Puppet Class edit form

Revision 40434ffb (diff)
Added by Ori Rabin over 4 years ago

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 5 years ago

  • Related to Tracker #4470: Usability of parameters and overrides added

#2 Updated by Ori Rabin over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin

#3 Updated by The Foreman Bot over 4 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 4 years ago

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

#5 Updated by Ori Rabin over 4 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 4 years ago

  • Category set to Web Interface
  • Legacy Backlogs Release (now unused) set to 21

Also available in: Atom PDF