Bug #18285
closed
Array as root json are considered as string
Added by François ARMAND almost 4 years ago.
Updated almost 4 years ago.
Category:
Web - Config management
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.
- Status changed from New to In progress
- 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
- Status changed from New to In progress
- 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
- Related to Bug #18288: Add tests regarding arrays added
- Status changed from Pending technical review to Pending release
- Target version changed from 6.1.6 to 6.1.5
- 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.
- Fix check changed from Error - Blocking to Checked
patch was ok, nightly were not built
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.5 which was released today.
- Subject changed from Array as root json are seens as string to Array as root json are considered as string
Also available in: Atom
PDF