Project

General

Profile

Actions

Bug #28929

closed

settings api accept different values than what it returns

Added by Simon Peeters almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The settings api endpoint returns nicely typed settings: the get request returns arrays, hashes, integers and strings depending on the type of the setting.
When writing to the api endpoint however, the api only accepts string input, this makes it hard to properly ensure the state of a setting (trough for example puppet)

Actions #2

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7430 added
Actions #3

Updated by The Foreman Bot almost 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #4

Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF