Project

General

Profile

Actions

Bug #18285

closed

Array as root json are considered as string

Added by François ARMAND about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

If you have a datasource whose URL/path returns:

[ {"key":"value1"}, {"key":"value2"}, etc]

Then it is saw as "string" and not JSON in node property.


Related issues 1 (0 open1 closed)

Related to Datasources - Bug #18288: Add tests regarding arraysReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND about 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND about 4 years ago

  • Project changed from Datasources to Rudder
  • Category set to Web - Config management
  • Status changed from In progress to New
  • Target version changed from 6.1-1.10 to 6.1.6

Actually, the bug is in rudder, not datasources

Actions #3

Updated by François ARMAND about 4 years ago

  • Status changed from New to In progress
Actions #4

Updated by François ARMAND about 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/3241
Actions #5

Updated by François ARMAND about 4 years ago

  • Related to Bug #18288: Add tests regarding arrays added
Actions #6

Updated by François ARMAND about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by François ARMAND about 4 years ago

  • Target version changed from 6.1.6 to 6.1.5
Actions #8

Updated by François ARMAND about 4 years ago

  • Subject changed from Array as root json are seens as string or only first element is taken to Array as root json are seens as string
  • Fix check changed from To do to Error - Blocking

The patch is not enought, I still get a string.

Actions #9

Updated by François ARMAND about 4 years ago

  • Fix check changed from Error - Blocking to Checked
Actions #10

Updated by Vincent MEMBRÉ about 4 years ago

patch was ok, nightly were not built

Actions #11

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.5 which was released today.

Actions #12

Updated by Vincent MEMBRÉ about 4 years ago

  • Subject changed from Array as root json are seens as string to Array as root json are considered as string
Actions

Also available in: Atom PDF