Bug #5122
closed
Can't pass correctly json parameter to group API
Added by Vincent MEMBRÉ over 10 years ago.
Updated almost 9 years ago.
Description
Parameters passed in a json file (ie: using curl -H "Content-type: application/json" url -d @file.json) are not correctly parsed when reading groups
parameters query, enabled and dynamic needs to be parsed as string, and not with the correct type (boolean or an object)
We need to extend support to correct values
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/560
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Target version changed from 2.9.7 to 2.10.3
- Subject changed from Parameters passed as json in group request are not correctly parsed to Some parameters cannot be used correctly when passing them by json in group API
- Subject changed from Some parameters cannot be used correctly when passing them by json in group API to Can't pass correctly json parameter to group API
- Status changed from Pending release to Released
- Target version changed from 2.10.3 to 2.9.7
Also available in: Atom
PDF