Project

General

Profile

Actions

Bug #5778

closed

Using json to create directive is not working with API

Bug #5778: Using json to create directive is not working with API

Added by Vincent MEMBRÉ over 11 years ago. Updated over 11 years ago.

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

Description

You can't use json to create a directive.

Parameters is a problem ... you have to put a whole string instead of using JSON => really bad ...

And even if you manage to get pass through the parameters

The api awaits for a techniqueName but only reads it as url parameters... so it does not find it in json

using it as parameter will breack the json

need to fix all the things here

Updated by Vincent MEMBRÉ over 11 years ago Actions #1

  • Subject changed from using json to create directive is not working with API to Using json to create directive is not working with API

Updated by François ARMAND over 11 years ago Actions #2

  • Status changed from New to In progress
  • Assignee changed from Vincent MEMBRÉ to François ARMAND

Updated by François ARMAND over 11 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/702

Updated by François ARMAND over 11 years ago Actions #4

  • Assignee changed from François ARMAND to Nicolas CHARLES

Updated by François ARMAND over 11 years ago Actions #5

  • Pull Request changed from https://github.com/Normation/rudder/pull/702 to https://github.com/Normation/rudder/pull/707

Updated by François ARMAND over 11 years ago Actions #6

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

Updated by Vincent MEMBRÉ over 11 years ago Actions #8

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.8 and 2.11.5, which were released today (16/12/14)

Actions

Also available in: PDF Atom