Actions
Bug #12965
closedError when trying to get operatingsystem's provisioning templates throuh api
Description
The response is
"error": { "message": "wrong number of arguments (1 for 0)" }
This is a result of the before filter find_optional_nested_object that tries to get the related operatingsystem.
It calls resource_name with the os name but provisioning_templates_controller redefines resource_name and doesn't expect an argument at all.
Updated by The Foreman Bot about 9 years ago
- Status changed from Assigned to Ready For Testing
- Assignee set to Ori Rabin
- Pull request https://github.com/theforeman/foreman/pull/3016 added
Updated by Dominic Cleal almost 9 years ago
- Translation missing: en.field_release set to 104
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #8343: API resource_scope ignores options added
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 3e4b2f7732fd7dd94cdd48bb75181b483c3e678b.
Actions