Actions
Bug #4735
closeddynamic bindings not allowing file upload
Description
% hammer subscription upload --organization-id megacorp --file test/data/megacorp.zip
Manifest upload failed:
Error: 400 Bad Request
From log:
Processing by Katello::Api::V2::SubscriptionsController#upload as application/json;version=2
Parameters: {"{\"content\":\"#<File:0x000000039c1258>\"}"=>nil, "api_version"=>"v2", "organization_id"=>"megacorp"}
Previously a fix was applied to katello_api (and foreman_api?) to handle File objects specially. How is this handled in dynamic apipie?
Updated by Martin Bacovsky almost 11 years ago
- Status changed from New to Assigned
- Assignee set to Martin Bacovsky
- Target version set to 1.9.0
Upstream issue https://github.com/Apipie/apipie-bindings/issues/2
The fix should land in apipie-bindings 0.0.5
Updated by Martin Bacovsky almost 11 years ago
- Status changed from Assigned to Closed
The patch was merged upstream
Actions