Project

General

Profile

Actions

Bug #12760

closed

cannot add two node properties at the same time from inventory

Added by Nicolas CHARLES almost 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
75
Name check:
Fix check:
Regression:

Description

I have a hook outputing

{
  "hello_inventory": "a simple string value from inventory",
  "user":{
    "id": "xxxxxx",
    "accepted": true
  }
}

I was expecting to have two keys on the node, but I get only one (see screenshot)


Files

Capture du 2018-06-07 17-40-02.png (19.7 KB) Capture du 2018-06-07 17-40-02.png Nicolas CHARLES, 2018-06-07 15:40
Actions #1

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.3.2 to 4.3.3
Actions #2

Updated by Nicolas CHARLES almost 6 years ago

  • Category changed from Web - Nodes & inventories to Agent

Issue is on the server side

The generated inventory containes:

<CUSTOM_PROPERTIES>[{&quot;user&quot;:{&quot;id&quot;:&quot;xxxxxx&quot;,&quot;accepted&quot;:true},&quot;hello_inventory&quot;:&quot;a simple string value from inventory&quot;}]</CUSTOM_PROPERTIES>

so all output is there

Actions #3

Updated by Nicolas CHARLES almost 6 years ago

  • Category changed from Agent to Web - Nodes & inventories
Actions #4

Updated by Benoît PECCATTE almost 6 years ago

  • Severity set to Critical - prevents main use of Rudder | no workaround | data loss | security
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority changed from 0 to 76
Actions #5

Updated by François ARMAND almost 6 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #6

Updated by François ARMAND almost 6 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/ldap-inventory/pull/134
Actions #7

Updated by François ARMAND almost 6 years ago

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

Updated by Vincent MEMBRÉ almost 6 years ago

  • Status changed from Pending release to Released
  • Priority changed from 76 to 75

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

Actions

Also available in: Atom PDF