Bug #9787
closed
Default values of smart class parameters can't be JSON or YAML
Added by Marek Hulán almost 10 years ago.
Updated over 6 years ago.
Description
While #9673 fixed the issue for overrides, we have the same problem (double typecasting) for default values. So if there's no override for such parameter, we render the default value as true.
- Category set to Parameters
- Related to Bug #9673: YAML type casting fails for lookup values in 1.7.3 added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2238 added
- Pull request deleted (
)
Thanks, the patch works for me. :-)
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Related to Bug #8052: Smart class parameters with ERB snippets are broken for other that String types added
Also available in: Atom
PDF