Project

General

Profile

Actions

Bug #17830

closed

Updating property merge them in place of replacing them

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

It's the root cause of: https://issues.rudder.io/issues/17829

If we have a json property in a node, then sub-items are merged, not replaced with new value.

For example:

Prop time 1:

{"env":"prod", "merge": { "test1":"val1" } }

Update with:

{"env":"prod", "merge": { "test2":"val2" } }

Result on node to:

{"env":"prod", "merge": { "test1":"val1", "test2":"val2" } }

Related issues 1 (0 open1 closed)

Related to Datasources - Bug #17829: Datasource properties are merged, not replacedResolvedFrançois ARMANDActions
Actions #1

Updated by François ARMAND almost 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND almost 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/3101
Actions #3

Updated by François ARMAND almost 4 years ago

  • Related to Bug #17829: Datasource properties are merged, not replaced added
Actions #4

Updated by François ARMAND almost 4 years ago

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

Updated by François ARMAND almost 4 years ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF