Project

General

Profile

Actions

Bug #22477

open

Smartclass yaml value get converted into a string on hostgroup change

Added by Martin Zimmermann over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Changing a hosts hostgroup (by using the host edit page) converts a smartclass YAML value to a string.

Before:
yaml_array:
- stuff
- more_stuff

After changing the hostgroup:
--- "yaml_array:\r\n- stuff\r\n- more_stuff\r\n"

It seems like that this only happens when using the hosts edit page directly.
The YAML value stays intact when changing the hostgroup by using the button "Select Action" from the "Hosts -> All Hosts" page ...


Files

before.PNG View before.PNG 65.2 KB Before hostgroup change Martin Zimmermann, 01/31/2018 09:40 PM
after.PNG View after.PNG 65 KB After hostgroup change Martin Zimmermann, 01/31/2018 09:45 PM

No data to display

Actions

Also available in: Atom PDF