Project

General

Profile

Bug #5122

Can't pass correctly json parameter to group API

Added by Vincent MEMBRÉ almost 6 years ago. Updated over 4 years ago.

Status:
Released
Priority:
1
Category:
API
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

#1

Updated by Vincent MEMBRÉ almost 6 years ago

  • 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
#2

Updated by Vincent MEMBRÉ almost 6 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#4

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 2.9.7 to 2.10.3
#5

Updated by Vincent MEMBRÉ over 5 years ago

  • 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
#6

Updated by Vincent MEMBRÉ over 5 years ago

  • 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
#7

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.3 (announcement , changelog) and 2.11.0~beta2 (announcement , changelog), which were released today.

#8

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 2.10.3 to 2.9.7

Also available in: Atom PDF