Actions
Bug #9812
closed'match' and 'value' parameters in override value's create should be required in apidoc
Description
Currently it allows CLI to attempt to create override value without these params which result in 500.
[ INFO 2015-03-18 16:00:34 API] POST /api/smart_variables/205/override_values [DEBUG 2015-03-18 16:00:34 API] Params: { "override_value" => {} } [DEBUG 2015-03-18 16:00:34 API] Headers: {} [DEBUG 2015-03-18 16:00:35 API] 500 Internal Server Error { "error" => { "message" => "undefined method `match' for nil:NilClass" } }
Updated by Tomáš Strachota about 10 years ago
Not only they should be required in the docs but we must make sure the api can cope with the missing parameters and not to fail with 500.
Updated by Shlomi Zadok about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset d936284fc9c0ae591572fd39b0167f6d5a353e16.
Actions