Project

General

Profile

Actions

Bug #17691

closed

Formating is lost for global param string looking like json

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

Status:
Rejected
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
13
Name check:
To do
Fix check:
To do
Regression:

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 almost 4 years 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É almost 4 years ago

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

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.0 to 6.1.1
Actions #6

Updated by François ARMAND almost 4 years 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 almost 4 years ago

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

Updated by Raphael GAUTHIER almost 4 years ago

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

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.1 to 6.1.2
Actions #11

Updated by Vincent MEMBRÉ almost 4 years 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 over 3 years ago

  • Target version changed from 6.1.3 to 6.1.4
Actions #13

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.4 to 6.1.5
Actions #14

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.5 to 6.1.6
Actions #15

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.6 to 6.1.7
Actions #16

Updated by Vincent MEMBRÉ over 3 years ago

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

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.8 to 6.1.9
Actions #18

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.9 to 6.1.10
Actions #19

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.10 to 6.1.11
Actions #20

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.11 to 6.1.12
Actions #21

Updated by Vincent MEMBRÉ about 3 years ago

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

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.13 to 6.1.14
Actions #23

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #24

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #25

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #26

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #27

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #28

Updated by Benoît PECCATTE over 2 years ago

  • Category set to Web - Config management
Actions #29

Updated by François ARMAND about 2 years ago

  • Status changed from New to Rejected

We won't realisticly spend more time on that ticket. If anyone is impacted, please let us know so that we can know that the time spent worth it.

Actions

Also available in: Atom PDF