Project

General

Profile

Actions

Bug #10220

closed

Inventories with fields containing only spaces/tabs/... may fail to be parsed due to invalid sanitization of entry

Added by Nicolas CHARLES about 7 years ago. Updated about 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If a Storage/Manufacture tag contain only space or blank characters, inventory will fail to be processed by the web interface, with a nasty

java.lang.AssertionError: assertion failed
        at scala.Predef$.assert(Predef.scala:156)

Cause is function "optText" in FusionReportUnmarshaller that does not handle properly this case - it should sanitize entry first

Actions #1

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #2

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to François ARMAND
  • Pull Request set to https://github.com/Normation/ldap-inventory/pull/102
Actions #3

Updated by Nicolas CHARLES about 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.18, 3.2.11, 4.0.3 and 4.1.0~beta3 which were released today.

Actions

Also available in: Atom PDF