Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Parameters
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #9673: YAML type casting fails for lookup values in 1.7.3ClosedMarek Hulán03/06/2015Actions
Related to Foreman - Bug #8052: Smart class parameters with ERB snippets are broken for other that String typesClosedMarek Hulán10/23/2014Actions
Actions #1

Updated by Marek Hulán almost 10 years ago

  • Category set to Parameters
Actions #2

Updated by Marek Hulán almost 10 years ago

  • Related to Bug #9673: YAML type casting fails for lookup values in 1.7.3 added
Actions #3

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2238 added
  • Pull request deleted ()
Actions #4

Updated by Martin Hubert almost 10 years ago

Thanks, the patch works for me. :-)

Actions #5

Updated by Marek Hulán over 9 years ago

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

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #8052: Smart class parameters with ERB snippets are broken for other that String types added
Actions

Also available in: Atom PDF