Project

General

Profile

Actions

Bug #12642

closed

Inline class parameter override shown in Ruby hash syntax

Added by Dominic Cleal over 8 years ago. Updated almost 6 years ago.

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

Description

Since #11458, overridden smart class parameters with type=hash are showing in the host#edit form in a Ruby-style hash rather than the YAML or JSON representation. This prevents the host being saved as the syntax isn't understood on save.

Before it showed as a: b and now shows as {"a"=>"b"} in the inline text box.


Files

Screenshot from 2015-12-01 11-01-44.png View Screenshot from 2015-12-01 11-01-44.png 64.2 KB parameter configuration Dominic Cleal, 12/01/2015 06:02 AM
Screenshot from 2015-12-01 11-02-10.png View Screenshot from 2015-12-01 11-02-10.png 6.65 KB host#edit overridden parameter, before on 95d7064 Dominic Cleal, 12/01/2015 06:02 AM
Screenshot from 2015-12-01 11-01-50.png View Screenshot from 2015-12-01 11-01-50.png 13.4 KB host#edit overridden parameter, after on 6501082 Dominic Cleal, 12/01/2015 06:03 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #11458: Allow overriding parameters inline in host & hostgroup formsClosedTomer Brisker08/24/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Related to Refactor #11458: Allow overriding parameters inline in host & hostgroup forms added
Actions #2

Updated by Tomer Brisker over 8 years ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Assigned
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2949 added
Actions #4

Updated by Anonymous over 8 years ago

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

Also available in: Atom PDF