Project

General

Profile

Actions

Bug #17691

open

Formating is lost for global param string looking like json

Added by François ARMAND 11 months ago. Updated 1 day ago.

Status:
New
Priority:
N/A
Category:
-
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
13

Description

If we have a global parameter of type `string` which is a json, then when used in file content with ${node.properties[]}, then the formating is lost. That does not happen if the string is not json, or if the property is defined on node.

Global param:

On node:


Gives after enforce file content ==>

json_string_6_0
--
{"i'm not":"json"}
--

jsonStringOnNode
--
{
"that's" 
:
"not json but string" 
}
--

stringWithReturn
---
I'm a
multiline
string!
  with spaces
---

Files

clipboard-202006101050-ua8dv.png (3.6 KB) clipboard-202006101050-ua8dv.png François ARMAND, 2020-06-10 10:50
clipboard-202006101050-5junu.png (4.75 KB) clipboard-202006101050-5junu.png François ARMAND, 2020-06-10 10:50
clipboard-202006101052-fun7v.png (5.15 KB) clipboard-202006101052-fun7v.png François ARMAND, 2020-06-10 10:52
clipboard-202006101052-ijypu.png (6.23 KB) clipboard-202006101052-ijypu.png François ARMAND, 2020-06-10 10:52
clipboard-202006101053-a7vzm.png (6.38 KB) clipboard-202006101053-a7vzm.png François ARMAND, 2020-06-10 10:53
Actions #1

Updated by François ARMAND 11 months ago

  • Target version set to 6.1.0~rc4
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 32

The case seems rare and not very severe (keeping json formating is not needed often). And if it's the case, one can still define the corresponding on group properties.

Actions #3

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 6.1.0~rc4 to 6.1.0
Actions #4

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 6.1.0 to 6.1.1
Actions #6

Updated by François ARMAND 11 months ago

  • Effort required set to Medium
  • Priority changed from 32 to 16

I already spent more than one day on that.

Actions #8

Updated by Raphael GAUTHIER 11 months ago

  • Status changed from New to In progress
  • Assignee set to Raphael GAUTHIER
Actions #9

Updated by Raphael GAUTHIER 11 months ago

  • Status changed from In progress to New
  • Assignee changed from Raphael GAUTHIER to François ARMAND
Actions #10

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 6.1.1 to 6.1.2
Actions #11

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 6.1.2 to 6.1.3
  • Priority changed from 16 to 15
Actions #12

Updated by François ARMAND 10 months ago

  • Target version changed from 6.1.3 to 6.1.4
Actions #13

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 6.1.4 to 6.1.5
Actions #14

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 6.1.5 to 6.1.6
Actions #15

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 6.1.6 to 6.1.7
Actions #16

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 6.1.7 to 6.1.8
  • Priority changed from 15 to 14
Actions #17

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 6.1.8 to 6.1.9
Actions #18

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 6.1.9 to 6.1.10
Actions #19

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 6.1.10 to 6.1.11
Actions #20

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 6.1.11 to 6.1.12
Actions #21

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 6.1.12 to 6.1.13
  • Priority changed from 14 to 13
Actions #22

Updated by Vincent MEMBRÉ 1 day ago

  • Target version changed from 6.1.13 to 6.1.14
Actions

Also available in: Atom PDF