Actions
Bug #15308
closedediting puppet class parameter with arrays and hashes fails when not overriding
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
steps to reproduce:
a puppet class with either hash or array parameters, that override is false.
try to save:
always get an error message - "
"Override must be true to edit the parameter"
Updated by Tomer Brisker almost 9 years ago
note: this bug also prevents saving any smart class parameter without changes when viewing from the smart class parameter edit form.
Updated by Tomer Brisker almost 9 years ago
This fails in the class view only for array/hash values with inactive matchers, since the lookup value is changed (this is before it is parsed back into a ruby object - so it changes from object to string), causing the nested attribute to have nested_records_changed_for_autosave? set to true, and thus running the validation on it.
Updated by Ori Rabin almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 85c9be5a6ed9b593214cf3bc9de2f29960a2a25a.
Actions