Actions
Bug #23382
closedEditing Smart Class Parameter of type YAML creates malformed value in release 1.17.0
Difficulty:
Triaged:
No
Description
When defining smart class parameter values with type YAML and submitted in GUI an Ruby error message gets prepended for each array entry.
Defining an YAML-Array like:
--- - name: foo mount_point: /bar - name: john mount_point: /doe
gets saved as:
- !ruby/hash:ActiveSupport::HashWithIndifferentAccess name: foo mount_point: "/bar" - !ruby/hash:ActiveSupport::HashWithIndifferentAccess name: john mount_point: "/doe"
Just a very simple example our YAML are much more complex. This error appears since the upgrade from 1.16.1 to 1.17.0.
As we need this system for production, we can leave this installation like it is for debugging purposes for a maximum of 36hours.
HOSTNAME: urzlxdeploy.rz.uni-leipzig.de
OS: redhat
RELEASE: CentOS Linux release 7.4.1708 (Core)
FOREMAN: 1.17.0
RUBY: ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
PUPPET: 4.10.11
DENIALS: 0
Updated by Anonymous about 7 years ago
- Related to Bug #23463: YAML rendering of external nodes generates incorrect data if hashes are used added
Updated by Anonymous about 7 years ago
- Translation missing: en.field_release changed from 296 to 297
Updated by Tomer Brisker almost 7 years ago
- Translation missing: en.field_release changed from 297 to 360
Updated by Tomer Brisker almost 7 years ago
- Related to Bug #23581: Upgrade to Foreman 1.17 converts YAML to JSON Hash added
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/5769 added
Updated by Daniel Lobato Garcia almost 7 years ago
- Related to deleted (Bug #23463: YAML rendering of external nodes generates incorrect data if hashes are used)
Updated by Daniel Lobato Garcia almost 7 years ago
- Has duplicate Bug #23463: YAML rendering of external nodes generates incorrect data if hashes are used added
Updated by Daniel Lobato Garcia almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/5786 added
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/5787 added
Actions