Actions
Bug #13939
closedAPI v1 hosts rabl references deprecated puppet_status call
Description
The API v1 hosts views use the puppet_status attribute, which is a deprecated getter from #10782, where only the v2 API was fixed to use the new version.
test/functional/api/v1/hosts_controller_test.rb prints:
DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 1.13, Host#puppet_status has been deprecated, you should use configuration_status. (called from app_views_api_v_hosts_create_json_rabl__1200163205771380870_129174860 at /home/dcleal/code/foreman/foreman/app/views/api/v1/hosts/create.json.rabl:3)
Updated by Dominic Cleal almost 9 years ago
- Related to Feature #10782: Add global status for hosts added
Updated by The Foreman Bot almost 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3249 added
Updated by Dominic Cleal almost 9 years ago
- Blocks Refactor #13845: Remove 1.13 deprecations added
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #13941: Core tests should not print API deprecation warnings added
Updated by Dominic Cleal almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ecc7b31f8eb48ffd055b739776f8de4f8824bbe4.
Updated by Dominic Cleal almost 9 years ago
- Translation missing: en.field_release set to 141
Actions