Project

General

Profile

Actions

Bug #31285

closed

responses to /api/v2/settings/<id> no longer contain 'created_at' and 'updated_at' attrs

Added by roman plevka over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Settings
Target version:
-
Fixed in Releases:
Found in Releases:

Description

foreman-2.3.0-0.7.rc1.el7sat.noarch

The attrs are missing in responses to both GET and PUT requests (and possibly POST too)

2020-11-10T13:03:46 [I|app|12f445d8] Started PUT "/api/v2/settings/discovery_location" for 127.0.0.1 at 2020-11-10 13:03:46 +0100
2020-11-10T13:03:46 [I|app|12f445d8] Processing by Api::V2::SettingsController#update as JSON
2020-11-10T13:03:46 [I|app|12f445d8]   Parameters: {"setting"=>{"value"=>"[FILTERED]"}, "apiv"=>"v2", "id"=>"discovery_location"}
2020-11-10T13:03:46 [D|app|12f445d8] Authenticated user admin against INTERNAL authentication source
2020-11-10T13:03:46 [D|app|12f445d8] Post-login processing for admin
2020-11-10T13:03:46 [I|app|12f445d8] Authorized user admin(Admin User)
2020-11-10T13:03:46 [D|app|12f445d8] Post-login processing for admin
2020-11-10T13:03:47 [D|tax|12f445d8] Current location set to none
2020-11-10T13:03:47 [D|tax|12f445d8] Current organization set to none
2020-11-10T13:03:47 [D|tax|12f445d8] Current location set to none
2020-11-10T13:03:47 [D|tax|12f445d8] Current organization set to none
2020-11-10T13:03:47 [I|app|12f445d8]   Rendering api/v2/settings/update.json.rabl
2020-11-10T13:03:47 [I|app|12f445d8]   Rendered api/v2/settings/update.json.rabl (Duration: 10.0ms | Allocations: 9623)
2020-11-10T13:03:47 [D|app|12f445d8] Body: {"description":"The default location to place discovered hosts in","category":"Setting::Discovered","settings_type":"string","default":"","id":"discovery_location","name":"discovery_location","full_name":"Discovery location","value":"rdrbVOgGL","category_name":"Discovered","readonly":false,"config_file":"settings.yaml","encrypted":false,"select_values":{"Default Location":"Default Location","hSifWeKfZA":"hSifWeKfZA","InvpeNKSWxY":"InvpeNKSWxY","KVKnKAVhOPuN":"KVKnKAVhOPuN","mfHnRd":"mfHnRd","plkDdIVt":"plkDdIVt","pVdbkevdTXD":"pVdbkevdTXD","rdrbVOgGL":"rdrbVOgGL","roCPQxZwGx":"roCPQxZwGx","SPwWAicNZ":"SPwWAicNZ","umgWgPLbmU":"umgWgPLbmU","zEZwsKid":"zEZwsKid"}}


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #31471: Deprecate setting timestamps in API responsesClosedOndřej EzrActions
Actions #1

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Ezr
  • Pull request https://github.com/theforeman/foreman/pull/8186 added
Actions #2

Updated by Ondřej Ezr about 3 years ago

  • Related to Refactor #31471: Deprecate setting timestamps in API responses added
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases 2.4.0 added
Actions #4

Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/8198 added
Actions #5

Updated by Ondřej Ezr about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Tomer Brisker about 3 years ago

  • Fixed in Releases 2.3.2 added
Actions

Also available in: Atom PDF