Project

General

Profile

Actions

Bug #5122

closed

Can't pass correctly json parameter to group API

Added by Vincent MEMBRÉ almost 10 years ago. Updated over 8 years ago.

Status:
Released
Priority:
1
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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

Actions #1

Updated by Vincent MEMBRÉ almost 10 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
Actions #2

Updated by Vincent MEMBRÉ almost 10 years ago

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

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.9.7 to 2.10.3
Actions #5

Updated by Vincent MEMBRÉ almost 10 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
Actions #6

Updated by Vincent MEMBRÉ almost 10 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
Actions #7

Updated by Vincent MEMBRÉ almost 10 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.

Actions #8

Updated by Benoît PECCATTE over 8 years ago

  • Target version changed from 2.10.3 to 2.9.7
Actions

Also available in: Atom PDF